diff --git a/src/codegen/XenoAtom.Interop.CodeGen/vulkan/VulkanGenerator.cs b/src/codegen/XenoAtom.Interop.CodeGen/vulkan/VulkanGenerator.cs
index 4a061d7..ba2d9e7 100644
--- a/src/codegen/XenoAtom.Interop.CodeGen/vulkan/VulkanGenerator.cs
+++ b/src/codegen/XenoAtom.Interop.CodeGen/vulkan/VulkanGenerator.cs
@@ -319,17 +319,31 @@ private void ProcessVulkanFunction(CSharpMethod csFunction)
var cppFunction = (CppFunction)csFunction.CppElement!;
- pfn.BaseTypes.Add(new CSharpFreeType("IvkFunctionPointer"));
+ pfn.BaseTypes.Add(new CSharpGenericTypeReference("IvkFunctionPointer", [pfn]));
- var csProperty = new CSharpProperty(csFunction.Name + "_")
+ var csProperty = new CSharpProperty("Prototype")
{
ReturnType = new CSharpGenericTypeReference($"vkFunctionPointerPrototype", [pfn]),
GetBodyInlined = $"new(\"{csFunction.Name}\"u8)",
Visibility = CSharpVisibility.Public,
Modifiers = CSharpModifiers.Static,
};
+
+ csProperty.Comment = new CSharpFullComment()
+ {
+ Children =
+ {
+ new CSharpXmlComment("summary")
+ {
+ Children =
+ {
+ new CSharpTextComment($"Gets the prototype of the function `{csFunction.Name}`.")
+ }
+ }
+ }
+ };
var parent = (ICSharpContainer)csFunction.Parent!;
- parent.Members.Insert(parent.Members.IndexOf(csFunction) + 1, csProperty);
+ pfn.Members.Add(csProperty);
// Extension functions are not part of the core API, so we should remove LibraryImport for them
var isExtensionFunction = IsFunctionPointerStruct(cppFunction);
diff --git a/src/vulkan/XenoAtom.Interop.vulkan/generated/vulkan/vk_icd.generated.cs b/src/vulkan/XenoAtom.Interop.vulkan/generated/vulkan/vk_icd.generated.cs
index 17a1f46..4b15ae5 100644
--- a/src/vulkan/XenoAtom.Interop.vulkan/generated/vulkan/vk_icd.generated.cs
+++ b/src/vulkan/XenoAtom.Interop.vulkan/generated/vulkan/vk_icd.generated.cs
@@ -283,7 +283,7 @@ public partial struct VkIcdSurfaceImagePipe
///
/// Typedefs for loader/ICD interface
///
- public readonly partial struct PFN_vk_icdNegotiateLoaderICDInterfaceVersion : IEquatable, IvkFunctionPointer
+ public readonly partial struct PFN_vk_icdNegotiateLoaderICDInterfaceVersion : IEquatable, IvkFunctionPointer
{
public PFN_vk_icdNegotiateLoaderICDInterfaceVersion(delegate*unmanaged[Stdcall] value) => this.Value = value;
@@ -305,6 +305,11 @@ public partial struct VkIcdSurfaceImagePipe
public static bool operator !=(PFN_vk_icdNegotiateLoaderICDInterfaceVersion left, PFN_vk_icdNegotiateLoaderICDInterfaceVersion right) => !left.Equals(right);
+ ///
+ /// Gets the prototype of the function `vk_icdNegotiateLoaderICDInterfaceVersion`.
+ ///
+ public static vkFunctionPointerPrototype Prototype => new("vk_icdNegotiateLoaderICDInterfaceVersion"u8);
+
public vulkan.VkResult Invoke(uint* pVersion)
{
return Value(pVersion);
@@ -315,7 +320,7 @@ public vulkan.VkResult Invoke(uint* pVersion)
public bool IsNull => (nint)Value == 0;
}
- public readonly partial struct PFN_vk_icdGetInstanceProcAddr : IEquatable, IvkFunctionPointer
+ public readonly partial struct PFN_vk_icdGetInstanceProcAddr : IEquatable, IvkFunctionPointer
{
public PFN_vk_icdGetInstanceProcAddr(delegate*unmanaged[Stdcall] value) => this.Value = value;
@@ -337,6 +342,11 @@ public vulkan.VkResult Invoke(uint* pVersion)
public static bool operator !=(PFN_vk_icdGetInstanceProcAddr left, PFN_vk_icdGetInstanceProcAddr right) => !left.Equals(right);
+ ///
+ /// Gets the prototype of the function `vk_icdGetInstanceProcAddr`.
+ ///
+ public static vkFunctionPointerPrototype Prototype => new("vk_icdGetInstanceProcAddr"u8);
+
public vulkan.PFN_vkVoidFunction Invoke(vulkan.VkInstance instance, byte* pName)
{
return Value(instance, pName);
@@ -347,7 +357,7 @@ public vulkan.PFN_vkVoidFunction Invoke(vulkan.VkInstance instance, byte* pName)
public bool IsNull => (nint)Value == 0;
}
- public readonly partial struct PFN_vk_icdGetPhysicalDeviceProcAddr : IEquatable, IvkFunctionPointer
+ public readonly partial struct PFN_vk_icdGetPhysicalDeviceProcAddr : IEquatable, IvkFunctionPointer
{
public PFN_vk_icdGetPhysicalDeviceProcAddr(delegate*unmanaged[Stdcall] value) => this.Value = value;
@@ -369,6 +379,11 @@ public vulkan.PFN_vkVoidFunction Invoke(vulkan.VkInstance instance, byte* pName)
public static bool operator !=(PFN_vk_icdGetPhysicalDeviceProcAddr left, PFN_vk_icdGetPhysicalDeviceProcAddr right) => !left.Equals(right);
+ ///
+ /// Gets the prototype of the function `vk_icdGetPhysicalDeviceProcAddr`.
+ ///
+ public static vkFunctionPointerPrototype Prototype => new("vk_icdGetPhysicalDeviceProcAddr"u8);
+
public vulkan.PFN_vkVoidFunction Invoke(vulkan.VkInstance instance, byte* pName)
{
return Value(instance, pName);
@@ -379,7 +394,7 @@ public vulkan.PFN_vkVoidFunction Invoke(vulkan.VkInstance instance, byte* pName)
public bool IsNull => (nint)Value == 0;
}
- public readonly partial struct PFN_vk_icdEnumerateAdapterPhysicalDevices : IEquatable, IvkFunctionPointer
+ public readonly partial struct PFN_vk_icdEnumerateAdapterPhysicalDevices : IEquatable, IvkFunctionPointer
{
public PFN_vk_icdEnumerateAdapterPhysicalDevices(delegate*unmanaged[Stdcall] value) => this.Value = value;
@@ -401,6 +416,11 @@ public vulkan.PFN_vkVoidFunction Invoke(vulkan.VkInstance instance, byte* pName)
public static bool operator !=(PFN_vk_icdEnumerateAdapterPhysicalDevices left, PFN_vk_icdEnumerateAdapterPhysicalDevices right) => !left.Equals(right);
+ ///
+ /// Gets the prototype of the function `vk_icdEnumerateAdapterPhysicalDevices`.
+ ///
+ public static vkFunctionPointerPrototype Prototype => new("vk_icdEnumerateAdapterPhysicalDevices"u8);
+
public vulkan.VkResult Invoke(vulkan.VkInstance instance, ulong adapterLUID, uint* pPhysicalDeviceCount, vulkan.VkPhysicalDevice* pPhysicalDevices)
{
return Value(instance, adapterLUID, pPhysicalDeviceCount, pPhysicalDevices);
@@ -415,24 +435,16 @@ public vulkan.VkResult Invoke(vulkan.VkInstance instance, ulong adapterLUID, uin
[UnmanagedCallConv(CallConvs = new Type[] { typeof(CallConvStdcall) })]
public static partial vulkan.VkResult vk_icdNegotiateLoaderICDInterfaceVersion(uint* pVersion);
- public static vkFunctionPointerPrototype vk_icdNegotiateLoaderICDInterfaceVersion_ => new("vk_icdNegotiateLoaderICDInterfaceVersion"u8);
-
[global::System.Runtime.InteropServices.LibraryImport(LibraryName, EntryPoint = "vk_icdGetInstanceProcAddr")]
[UnmanagedCallConv(CallConvs = new Type[] { typeof(CallConvStdcall) })]
public static partial vulkan.PFN_vkVoidFunction vk_icdGetInstanceProcAddr(vulkan.VkInstance instance, byte* pName);
- public static vkFunctionPointerPrototype vk_icdGetInstanceProcAddr_ => new("vk_icdGetInstanceProcAddr"u8);
-
[global::System.Runtime.InteropServices.LibraryImport(LibraryName, EntryPoint = "vk_icdGetPhysicalDeviceProcAddr")]
[UnmanagedCallConv(CallConvs = new Type[] { typeof(CallConvStdcall) })]
public static partial vulkan.PFN_vkVoidFunction vk_icdGetPhysicalDeviceProcAddr(vulkan.VkInstance instance, byte* pName);
- public static vkFunctionPointerPrototype vk_icdGetPhysicalDeviceProcAddr_ => new("vk_icdGetPhysicalDeviceProcAddr"u8);
-
[global::System.Runtime.InteropServices.LibraryImport(LibraryName, EntryPoint = "vk_icdEnumerateAdapterPhysicalDevices")]
[UnmanagedCallConv(CallConvs = new Type[] { typeof(CallConvStdcall) })]
public static partial vulkan.VkResult vk_icdEnumerateAdapterPhysicalDevices(vulkan.VkInstance instance, ulong adapterLUID, uint* pPhysicalDeviceCount, vulkan.VkPhysicalDevice* pPhysicalDevices);
-
- public static vkFunctionPointerPrototype vk_icdEnumerateAdapterPhysicalDevices_ => new("vk_icdEnumerateAdapterPhysicalDevices"u8);
}
}
diff --git a/src/vulkan/XenoAtom.Interop.vulkan/generated/vulkan/vk_layer.generated.cs b/src/vulkan/XenoAtom.Interop.vulkan/generated/vulkan/vk_layer.generated.cs
index 50d62c6..5cfebf3 100644
--- a/src/vulkan/XenoAtom.Interop.vulkan/generated/vulkan/vk_layer.generated.cs
+++ b/src/vulkan/XenoAtom.Interop.vulkan/generated/vulkan/vk_layer.generated.cs
@@ -427,7 +427,7 @@ public partial struct VkEnumerateInstanceVersionChain
///
/// Version negotiation functions
///
- public readonly partial struct PFN_vkNegotiateLoaderLayerInterfaceVersion : IEquatable, IvkFunctionPointer
+ public readonly partial struct PFN_vkNegotiateLoaderLayerInterfaceVersion : IEquatable, IvkFunctionPointer
{
public PFN_vkNegotiateLoaderLayerInterfaceVersion(delegate*unmanaged[Stdcall] value) => this.Value = value;
@@ -449,6 +449,11 @@ public partial struct VkEnumerateInstanceVersionChain
public static bool operator !=(PFN_vkNegotiateLoaderLayerInterfaceVersion left, PFN_vkNegotiateLoaderLayerInterfaceVersion right) => !left.Equals(right);
+ ///
+ /// Gets the prototype of the function `vkNegotiateLoaderLayerInterfaceVersion`.
+ ///
+ public static vkFunctionPointerPrototype Prototype => new("vkNegotiateLoaderLayerInterfaceVersion"u8);
+
public vulkan.VkResult Invoke(vulkan.VkNegotiateLayerInterface* pVersionStruct)
{
return Value(pVersionStruct);
@@ -541,7 +546,5 @@ public vulkan.VkResult Invoke(vulkan.VkNegotiateLayerInterface* pVersionStruct)
[global::System.Runtime.InteropServices.LibraryImport(LibraryName, EntryPoint = "vkNegotiateLoaderLayerInterfaceVersion")]
[UnmanagedCallConv(CallConvs = new Type[] { typeof(CallConvStdcall) })]
public static partial vulkan.VkResult vkNegotiateLoaderLayerInterfaceVersion(vulkan.VkNegotiateLayerInterface* pVersionStruct);
-
- public static vkFunctionPointerPrototype vkNegotiateLoaderLayerInterfaceVersion_ => new("vkNegotiateLoaderLayerInterfaceVersion"u8);
}
}
diff --git a/src/vulkan/XenoAtom.Interop.vulkan/generated/vulkan/vulkan_android.generated.cs b/src/vulkan/XenoAtom.Interop.vulkan/generated/vulkan/vulkan_android.generated.cs
index e60a073..06f25f1 100644
--- a/src/vulkan/XenoAtom.Interop.vulkan/generated/vulkan/vulkan_android.generated.cs
+++ b/src/vulkan/XenoAtom.Interop.vulkan/generated/vulkan/vulkan_android.generated.cs
@@ -315,7 +315,7 @@ public partial struct VkAndroidHardwareBufferFormatProperties2ANDROID()
public vulkan.VkChromaLocation suggestedYChromaOffset;
}
- public readonly partial struct PFN_vkCreateAndroidSurfaceKHR : IEquatable, IvkFunctionPointer
+ public readonly partial struct PFN_vkCreateAndroidSurfaceKHR : IEquatable, IvkFunctionPointer
{
public PFN_vkCreateAndroidSurfaceKHR(delegate*unmanaged[Stdcall] value) => this.Value = value;
@@ -337,6 +337,11 @@ public partial struct VkAndroidHardwareBufferFormatProperties2ANDROID()
public static bool operator !=(PFN_vkCreateAndroidSurfaceKHR left, PFN_vkCreateAndroidSurfaceKHR right) => !left.Equals(right);
+ ///
+ /// Gets the prototype of the function `vkCreateAndroidSurfaceKHR`.
+ ///
+ public static vkFunctionPointerPrototype Prototype => new("vkCreateAndroidSurfaceKHR"u8);
+
///
/// Create a object for an Android native window
///
@@ -386,7 +391,7 @@ public vulkan.VkResult Invoke(vulkan.VkInstance instance, in vulkan.VkAndroidSur
}
}
- public readonly partial struct PFN_vkGetAndroidHardwareBufferPropertiesANDROID : IEquatable, IvkFunctionPointer
+ public readonly partial struct PFN_vkGetAndroidHardwareBufferPropertiesANDROID : IEquatable, IvkFunctionPointer
{
public PFN_vkGetAndroidHardwareBufferPropertiesANDROID(delegate*unmanaged[Stdcall] value) => this.Value = value;
@@ -408,6 +413,11 @@ public vulkan.VkResult Invoke(vulkan.VkInstance instance, in vulkan.VkAndroidSur
public static bool operator !=(PFN_vkGetAndroidHardwareBufferPropertiesANDROID left, PFN_vkGetAndroidHardwareBufferPropertiesANDROID right) => !left.Equals(right);
+ ///
+ /// Gets the prototype of the function `vkGetAndroidHardwareBufferPropertiesANDROID`.
+ ///
+ public static vkFunctionPointerPrototype Prototype => new("vkGetAndroidHardwareBufferPropertiesANDROID"u8);
+
///
/// Get Properties of External Memory Android Hardware Buffers
///
@@ -433,7 +443,7 @@ public vulkan.VkResult Invoke(vulkan.VkDevice device, vulkan.AHardwareBuffer buf
public bool IsNull => (nint)Value == 0;
}
- public readonly partial struct PFN_vkGetMemoryAndroidHardwareBufferANDROID : IEquatable, IvkFunctionPointer
+ public readonly partial struct PFN_vkGetMemoryAndroidHardwareBufferANDROID : IEquatable, IvkFunctionPointer
{
public PFN_vkGetMemoryAndroidHardwareBufferANDROID(delegate*unmanaged[Stdcall] value) => this.Value = value;
@@ -455,6 +465,11 @@ public vulkan.VkResult Invoke(vulkan.VkDevice device, vulkan.AHardwareBuffer buf
public static bool operator !=(PFN_vkGetMemoryAndroidHardwareBufferANDROID left, PFN_vkGetMemoryAndroidHardwareBufferANDROID right) => !left.Equals(right);
+ ///
+ /// Gets the prototype of the function `vkGetMemoryAndroidHardwareBufferANDROID`.
+ ///
+ public static vkFunctionPointerPrototype Prototype => new("vkGetMemoryAndroidHardwareBufferANDROID"u8);
+
///
/// Get an Android hardware buffer for a memory object
///
@@ -486,8 +501,6 @@ public vulkan.VkResult Invoke(vulkan.VkDevice device, vulkan.VkMemoryGetAndroidH
public static ReadOnlyMemoryUtf8 VK_KHR_ANDROID_SURFACE_EXTENSION_NAME => "VK_KHR_android_surface"u8;
- public static vkFunctionPointerPrototype vkCreateAndroidSurfaceKHR_ => new("vkCreateAndroidSurfaceKHR"u8);
-
///
/// Get Properties of External Memory Android Hardware Buffers
///
@@ -528,8 +541,6 @@ public static vulkan.VkResult vkGetAndroidHardwareBufferPropertiesANDROID(vulkan
return vkGetAndroidHardwareBufferPropertiesANDROID(device, buffer, __pProperties_local);
}
- public static vkFunctionPointerPrototype vkGetAndroidHardwareBufferPropertiesANDROID_ => new("vkGetAndroidHardwareBufferPropertiesANDROID"u8);
-
///
/// Get an Android hardware buffer for a memory object
///
@@ -570,7 +581,5 @@ public static vulkan.VkResult vkGetMemoryAndroidHardwareBufferANDROID(vulkan.VkD
fixed (vulkan.AHardwareBuffer* __pBuffer_local = &pBuffer)
return vkGetMemoryAndroidHardwareBufferANDROID(device, __pInfo_local, __pBuffer_local);
}
-
- public static vkFunctionPointerPrototype vkGetMemoryAndroidHardwareBufferANDROID_ => new("vkGetMemoryAndroidHardwareBufferANDROID"u8);
}
}
diff --git a/src/vulkan/XenoAtom.Interop.vulkan/generated/vulkan/vulkan_beta.generated.cs b/src/vulkan/XenoAtom.Interop.vulkan/generated/vulkan/vulkan_beta.generated.cs
index 60af9e2..cb5c7d1 100644
--- a/src/vulkan/XenoAtom.Interop.vulkan/generated/vulkan/vulkan_beta.generated.cs
+++ b/src/vulkan/XenoAtom.Interop.vulkan/generated/vulkan/vulkan_beta.generated.cs
@@ -3333,7 +3333,7 @@ public partial struct VkAccelerationStructureTrianglesDisplacementMicromapNV()
public vulkan.VkMicromapEXT micromap;
}
- public readonly partial struct PFN_vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR : IEquatable, IvkFunctionPointer
+ public readonly partial struct PFN_vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR : IEquatable, IvkFunctionPointer
{
public PFN_vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR(delegate*unmanaged[Stdcall] value) => this.Value = value;
@@ -3355,6 +3355,11 @@ public partial struct VkAccelerationStructureTrianglesDisplacementMicromapNV()
public static bool operator !=(PFN_vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR left, PFN_vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR right) => !left.Equals(right);
+ ///
+ /// Gets the prototype of the function `vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR`.
+ ///
+ public static vkFunctionPointerPrototype Prototype => new("vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR"u8);
+
///
/// Query video encode quality level properties
///
@@ -3402,7 +3407,7 @@ public vulkan.VkResult Invoke(vulkan.VkPhysicalDevice physicalDevice, in vulkan.
}
}
- public readonly partial struct PFN_vkGetEncodedVideoSessionParametersKHR : IEquatable, IvkFunctionPointer
+ public readonly partial struct PFN_vkGetEncodedVideoSessionParametersKHR : IEquatable, IvkFunctionPointer
{
public PFN_vkGetEncodedVideoSessionParametersKHR(delegate*unmanaged[Stdcall] value) => this.Value = value;
@@ -3424,6 +3429,11 @@ public vulkan.VkResult Invoke(vulkan.VkPhysicalDevice physicalDevice, in vulkan.
public static bool operator !=(PFN_vkGetEncodedVideoSessionParametersKHR left, PFN_vkGetEncodedVideoSessionParametersKHR right) => !left.Equals(right);
+ ///
+ /// Gets the prototype of the function `vkGetEncodedVideoSessionParametersKHR`.
+ ///
+ public static vkFunctionPointerPrototype Prototype => new("vkGetEncodedVideoSessionParametersKHR"u8);
+
///
/// Get encoded parameter sets from a video session parameters object
///
@@ -3474,7 +3484,7 @@ public vulkan.VkResult Invoke(vulkan.VkDevice device, in vulkan.VkVideoEncodeSes
}
}
- public readonly partial struct PFN_vkCmdEncodeVideoKHR : IEquatable, IvkFunctionPointer
+ public readonly partial struct PFN_vkCmdEncodeVideoKHR : IEquatable, IvkFunctionPointer
{
public PFN_vkCmdEncodeVideoKHR(delegate*unmanaged[Stdcall] value) => this.Value = value;
@@ -3496,6 +3506,11 @@ public vulkan.VkResult Invoke(vulkan.VkDevice device, in vulkan.VkVideoEncodeSes
public static bool operator !=(PFN_vkCmdEncodeVideoKHR left, PFN_vkCmdEncodeVideoKHR right) => !left.Equals(right);
+ ///
+ /// Gets the prototype of the function `vkCmdEncodeVideoKHR`.
+ ///
+ public static vkFunctionPointerPrototype Prototype => new("vkCmdEncodeVideoKHR"u8);
+
///
/// Encode operation for bitstream generation
///
@@ -3528,7 +3543,7 @@ public void Invoke(vulkan.VkCommandBuffer commandBuffer, in vulkan.VkVideoEncode
}
}
- public readonly partial struct PFN_vkCreateExecutionGraphPipelinesAMDX : IEquatable, IvkFunctionPointer
+ public readonly partial struct PFN_vkCreateExecutionGraphPipelinesAMDX : IEquatable, IvkFunctionPointer
{
public PFN_vkCreateExecutionGraphPipelinesAMDX(delegate*unmanaged[Stdcall] value) => this.Value = value;
@@ -3550,6 +3565,11 @@ public void Invoke(vulkan.VkCommandBuffer commandBuffer, in vulkan.VkVideoEncode
public static bool operator !=(PFN_vkCreateExecutionGraphPipelinesAMDX left, PFN_vkCreateExecutionGraphPipelinesAMDX right) => !left.Equals(right);
+ ///
+ /// Gets the prototype of the function `vkCreateExecutionGraphPipelinesAMDX`.
+ ///
+ public static vkFunctionPointerPrototype Prototype => new("vkCreateExecutionGraphPipelinesAMDX"u8);
+
///
/// Creates a new execution graph pipeline object
///
@@ -3604,7 +3624,7 @@ public vulkan.VkResult Invoke(vulkan.VkDevice device, vulkan.VkPipelineCache pip
}
}
- public readonly partial struct PFN_vkGetExecutionGraphPipelineScratchSizeAMDX : IEquatable, IvkFunctionPointer
+ public readonly partial struct PFN_vkGetExecutionGraphPipelineScratchSizeAMDX : IEquatable, IvkFunctionPointer
{
public PFN_vkGetExecutionGraphPipelineScratchSizeAMDX(delegate*unmanaged[Stdcall] value) => this.Value = value;
@@ -3626,6 +3646,11 @@ public vulkan.VkResult Invoke(vulkan.VkDevice device, vulkan.VkPipelineCache pip
public static bool operator !=(PFN_vkGetExecutionGraphPipelineScratchSizeAMDX left, PFN_vkGetExecutionGraphPipelineScratchSizeAMDX right) => !left.Equals(right);
+ ///
+ /// Gets the prototype of the function `vkGetExecutionGraphPipelineScratchSizeAMDX`.
+ ///
+ public static vkFunctionPointerPrototype Prototype => new("vkGetExecutionGraphPipelineScratchSizeAMDX"u8);
+
///
/// Query scratch space required to dispatch an execution graph
///
@@ -3672,7 +3697,7 @@ public vulkan.VkResult Invoke(vulkan.VkDevice device, vulkan.VkPipeline executio
}
}
- public readonly partial struct PFN_vkGetExecutionGraphPipelineNodeIndexAMDX : IEquatable, IvkFunctionPointer
+ public readonly partial struct PFN_vkGetExecutionGraphPipelineNodeIndexAMDX : IEquatable, IvkFunctionPointer
{
public PFN_vkGetExecutionGraphPipelineNodeIndexAMDX(delegate*unmanaged[Stdcall] value) => this.Value = value;
@@ -3694,6 +3719,11 @@ public vulkan.VkResult Invoke(vulkan.VkDevice device, vulkan.VkPipeline executio
public static bool operator !=(PFN_vkGetExecutionGraphPipelineNodeIndexAMDX left, PFN_vkGetExecutionGraphPipelineNodeIndexAMDX right) => !left.Equals(right);
+ ///
+ /// Gets the prototype of the function `vkGetExecutionGraphPipelineNodeIndexAMDX`.
+ ///
+ public static vkFunctionPointerPrototype Prototype => new("vkGetExecutionGraphPipelineNodeIndexAMDX"u8);
+
///
/// Query internal id of a node in an execution graph
///
@@ -3743,7 +3773,7 @@ public vulkan.VkResult Invoke(vulkan.VkDevice device, vulkan.VkPipeline executio
}
}
- public readonly partial struct PFN_vkCmdInitializeGraphScratchMemoryAMDX : IEquatable, IvkFunctionPointer
+ public readonly partial struct PFN_vkCmdInitializeGraphScratchMemoryAMDX : IEquatable, IvkFunctionPointer
{
public PFN_vkCmdInitializeGraphScratchMemoryAMDX(delegate*unmanaged[Stdcall] value) => this.Value = value;
@@ -3765,6 +3795,11 @@ public vulkan.VkResult Invoke(vulkan.VkDevice device, vulkan.VkPipeline executio
public static bool operator !=(PFN_vkCmdInitializeGraphScratchMemoryAMDX left, PFN_vkCmdInitializeGraphScratchMemoryAMDX right) => !left.Equals(right);
+ ///
+ /// Gets the prototype of the function `vkCmdInitializeGraphScratchMemoryAMDX`.
+ ///
+ public static vkFunctionPointerPrototype Prototype => new("vkCmdInitializeGraphScratchMemoryAMDX"u8);
+
///
/// Initialize scratch memory for an execution graph
///
@@ -3783,7 +3818,7 @@ public void Invoke(vulkan.VkCommandBuffer commandBuffer, vulkan.VkDeviceAddress
public bool IsNull => (nint)Value == 0;
}
- public readonly partial struct PFN_vkCmdDispatchGraphAMDX : IEquatable, IvkFunctionPointer
+ public readonly partial struct PFN_vkCmdDispatchGraphAMDX : IEquatable, IvkFunctionPointer
{
public PFN_vkCmdDispatchGraphAMDX(delegate*unmanaged[Stdcall] value) => this.Value = value;
@@ -3805,6 +3840,11 @@ public void Invoke(vulkan.VkCommandBuffer commandBuffer, vulkan.VkDeviceAddress
public static bool operator !=(PFN_vkCmdDispatchGraphAMDX left, PFN_vkCmdDispatchGraphAMDX right) => !left.Equals(right);
+ ///
+ /// Gets the prototype of the function `vkCmdDispatchGraphAMDX`.
+ ///
+ public static vkFunctionPointerPrototype Prototype => new("vkCmdDispatchGraphAMDX"u8);
+
///
/// Dispatch an execution graph
///
@@ -3839,7 +3879,7 @@ public void Invoke(vulkan.VkCommandBuffer commandBuffer, vulkan.VkDeviceAddress
}
}
- public readonly partial struct PFN_vkCmdDispatchGraphIndirectAMDX : IEquatable, IvkFunctionPointer
+ public readonly partial struct PFN_vkCmdDispatchGraphIndirectAMDX : IEquatable, IvkFunctionPointer
{
public PFN_vkCmdDispatchGraphIndirectAMDX(delegate*unmanaged[Stdcall] value) => this.Value = value;
@@ -3861,6 +3901,11 @@ public void Invoke(vulkan.VkCommandBuffer commandBuffer, vulkan.VkDeviceAddress
public static bool operator !=(PFN_vkCmdDispatchGraphIndirectAMDX left, PFN_vkCmdDispatchGraphIndirectAMDX right) => !left.Equals(right);
+ ///
+ /// Gets the prototype of the function `vkCmdDispatchGraphIndirectAMDX`.
+ ///
+ public static vkFunctionPointerPrototype Prototype => new("vkCmdDispatchGraphIndirectAMDX"u8);
+
///
/// Dispatch an execution graph with node and payload parameters read on the device
///
@@ -3895,7 +3940,7 @@ public void Invoke(vulkan.VkCommandBuffer commandBuffer, vulkan.VkDeviceAddress
}
}
- public readonly partial struct PFN_vkCmdDispatchGraphIndirectCountAMDX : IEquatable, IvkFunctionPointer
+ public readonly partial struct PFN_vkCmdDispatchGraphIndirectCountAMDX : IEquatable, IvkFunctionPointer
{
public PFN_vkCmdDispatchGraphIndirectCountAMDX(delegate*unmanaged[Stdcall] value) => this.Value = value;
@@ -3917,6 +3962,11 @@ public void Invoke(vulkan.VkCommandBuffer commandBuffer, vulkan.VkDeviceAddress
public static bool operator !=(PFN_vkCmdDispatchGraphIndirectCountAMDX left, PFN_vkCmdDispatchGraphIndirectCountAMDX right) => !left.Equals(right);
+ ///
+ /// Gets the prototype of the function `vkCmdDispatchGraphIndirectCountAMDX`.
+ ///
+ public static vkFunctionPointerPrototype Prototype => new("vkCmdDispatchGraphIndirectCountAMDX"u8);
+
///
/// Dispatch an execution graph with all parameters read on the device
///
@@ -3973,25 +4023,5 @@ public void Invoke(vulkan.VkCommandBuffer commandBuffer, vulkan.VkDeviceAddress
public const int VK_NV_DISPLACEMENT_MICROMAP_SPEC_VERSION = 2;
public static ReadOnlyMemoryUtf8 VK_NV_DISPLACEMENT_MICROMAP_EXTENSION_NAME => "VK_NV_displacement_micromap"u8;
-
- public static vkFunctionPointerPrototype vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR_ => new("vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR"u8);
-
- public static vkFunctionPointerPrototype vkGetEncodedVideoSessionParametersKHR_ => new("vkGetEncodedVideoSessionParametersKHR"u8);
-
- public static vkFunctionPointerPrototype vkCmdEncodeVideoKHR_ => new("vkCmdEncodeVideoKHR"u8);
-
- public static vkFunctionPointerPrototype vkCreateExecutionGraphPipelinesAMDX_ => new("vkCreateExecutionGraphPipelinesAMDX"u8);
-
- public static vkFunctionPointerPrototype vkGetExecutionGraphPipelineScratchSizeAMDX_ => new("vkGetExecutionGraphPipelineScratchSizeAMDX"u8);
-
- public static vkFunctionPointerPrototype vkGetExecutionGraphPipelineNodeIndexAMDX_ => new("vkGetExecutionGraphPipelineNodeIndexAMDX"u8);
-
- public static vkFunctionPointerPrototype vkCmdInitializeGraphScratchMemoryAMDX_ => new("vkCmdInitializeGraphScratchMemoryAMDX"u8);
-
- public static vkFunctionPointerPrototype vkCmdDispatchGraphAMDX_ => new("vkCmdDispatchGraphAMDX"u8);
-
- public static vkFunctionPointerPrototype vkCmdDispatchGraphIndirectAMDX_ => new("vkCmdDispatchGraphIndirectAMDX"u8);
-
- public static vkFunctionPointerPrototype vkCmdDispatchGraphIndirectCountAMDX_ => new("vkCmdDispatchGraphIndirectCountAMDX"u8);
}
}
diff --git a/src/vulkan/XenoAtom.Interop.vulkan/generated/vulkan/vulkan_core.generated.cs b/src/vulkan/XenoAtom.Interop.vulkan/generated/vulkan/vulkan_core.generated.cs
index 2cdd6ab..f8ac72a 100644
--- a/src/vulkan/XenoAtom.Interop.vulkan/generated/vulkan/vulkan_core.generated.cs
+++ b/src/vulkan/XenoAtom.Interop.vulkan/generated/vulkan/vulkan_core.generated.cs
@@ -53849,7 +53849,7 @@ public partial struct VkDrawMeshTasksIndirectCommandEXT
public static bool operator !=(VkEvent left, VkEvent right) => !left.Equals(right);
}
- public readonly partial struct PFN_vkGetInstanceProcAddr : IEquatable, IvkFunctionPointer
+ public readonly partial struct PFN_vkGetInstanceProcAddr : IEquatable, IvkFunctionPointer
{
public PFN_vkGetInstanceProcAddr(delegate*unmanaged[Stdcall] value) => this.Value = value;
@@ -53871,6 +53871,11 @@ public partial struct VkDrawMeshTasksIndirectCommandEXT
public static bool operator !=(PFN_vkGetInstanceProcAddr left, PFN_vkGetInstanceProcAddr right) => !left.Equals(right);
+ ///
+ /// Gets the prototype of the function `vkGetInstanceProcAddr`.
+ ///
+ public static vkFunctionPointerPrototype Prototype => new("vkGetInstanceProcAddr"u8);
+
///
/// Return a function pointer for a command
///
@@ -53915,7 +53920,7 @@ public vulkan.PFN_vkVoidFunction Invoke(vulkan.VkInstance instance, byte* pName)
public static bool operator !=(VkDevice left, VkDevice right) => !left.Equals(right);
}
- public readonly partial struct PFN_vkGetDeviceProcAddr : IEquatable, IvkFunctionPointer
+ public readonly partial struct PFN_vkGetDeviceProcAddr : IEquatable, IvkFunctionPointer
{
public PFN_vkGetDeviceProcAddr(delegate*unmanaged[Stdcall] value) => this.Value = value;
@@ -53937,6 +53942,11 @@ public vulkan.PFN_vkVoidFunction Invoke(vulkan.VkInstance instance, byte* pName)
public static bool operator !=(PFN_vkGetDeviceProcAddr left, PFN_vkGetDeviceProcAddr right) => !left.Equals(right);
+ ///
+ /// Gets the prototype of the function `vkGetDeviceProcAddr`.
+ ///
+ public static vkFunctionPointerPrototype Prototype => new("vkGetDeviceProcAddr"u8);
+
///
/// Return a function pointer for a command
///
@@ -53953,7 +53963,7 @@ public vulkan.PFN_vkVoidFunction Invoke(vulkan.VkDevice device, byte* pName)
public bool IsNull => (nint)Value == 0;
}
- public readonly partial struct PFN_vkDestroyDevice : IEquatable, IvkFunctionPointer
+ public readonly partial struct PFN_vkDestroyDevice : IEquatable, IvkFunctionPointer
{
public PFN_vkDestroyDevice(delegate*unmanaged[Stdcall] value) => this.Value = value;
@@ -53975,6 +53985,11 @@ public vulkan.PFN_vkVoidFunction Invoke(vulkan.VkDevice device, byte* pName)
public static bool operator !=(PFN_vkDestroyDevice left, PFN_vkDestroyDevice right) => !left.Equals(right);
+ ///
+ /// Gets the prototype of the function `vkDestroyDevice`.
+ ///
+ public static vkFunctionPointerPrototype Prototype => new("vkDestroyDevice"u8);
+
///
/// Destroy a logical device
///
@@ -54191,7 +54206,7 @@ public void Invoke(vulkan.VkDevice device, vulkan.VkAllocationCallbacks* pAlloca
public static implicit operator vulkan.VkStencilFaceFlags (vulkan.VkStencilFaceFlagBits from) => new vulkan.VkStencilFaceFlags((uint)from);
}
- public readonly partial struct PFN_vkCreateInstance : IEquatable, IvkFunctionPointer
+ public readonly partial struct PFN_vkCreateInstance : IEquatable, IvkFunctionPointer
{
public PFN_vkCreateInstance(delegate*unmanaged[Stdcall] value) => this.Value = value;
@@ -54213,6 +54228,11 @@ public void Invoke(vulkan.VkDevice device, vulkan.VkAllocationCallbacks* pAlloca
public static bool operator !=(PFN_vkCreateInstance left, PFN_vkCreateInstance right) => !left.Equals(right);
+ ///
+ /// Gets the prototype of the function `vkCreateInstance`.
+ ///
+ public static vkFunctionPointerPrototype Prototype => new("vkCreateInstance"u8);
+
///
/// Create a new Vulkan instance
///
@@ -54238,7 +54258,7 @@ public vulkan.VkResult Invoke(vulkan.VkInstanceCreateInfo* pCreateInfo, vulkan.V
public bool IsNull => (nint)Value == 0;
}
- public readonly partial struct PFN_vkDestroyInstance : IEquatable, IvkFunctionPointer
+ public readonly partial struct PFN_vkDestroyInstance : IEquatable, IvkFunctionPointer
{
public PFN_vkDestroyInstance(delegate*unmanaged[Stdcall] value) => this.Value = value;
@@ -54260,6 +54280,11 @@ public vulkan.VkResult Invoke(vulkan.VkInstanceCreateInfo* pCreateInfo, vulkan.V
public static bool operator !=(PFN_vkDestroyInstance left, PFN_vkDestroyInstance right) => !left.Equals(right);
+ ///
+ /// Gets the prototype of the function `vkDestroyInstance`.
+ ///
+ public static vkFunctionPointerPrototype Prototype => new("vkDestroyInstance"u8);
+
///
/// Destroy an instance of Vulkan
///
@@ -54278,7 +54303,7 @@ public void Invoke(vulkan.VkInstance instance, vulkan.VkAllocationCallbacks* pAl
public bool IsNull => (nint)Value == 0;
}
- public readonly partial struct PFN_vkEnumeratePhysicalDevices : IEquatable, IvkFunctionPointer
+ public readonly partial struct PFN_vkEnumeratePhysicalDevices : IEquatable, IvkFunctionPointer
{
public PFN_vkEnumeratePhysicalDevices(delegate*unmanaged[Stdcall] value) => this.Value = value;
@@ -54300,6 +54325,11 @@ public void Invoke(vulkan.VkInstance instance, vulkan.VkAllocationCallbacks* pAl
public static bool operator !=(PFN_vkEnumeratePhysicalDevices left, PFN_vkEnumeratePhysicalDevices right) => !left.Equals(right);
+ ///
+ /// Gets the prototype of the function `vkEnumeratePhysicalDevices`.
+ ///
+ public static vkFunctionPointerPrototype Prototype => new("vkEnumeratePhysicalDevices"u8);
+
///
/// Enumerates the physical devices accessible to a Vulkan instance
///
@@ -54325,7 +54355,7 @@ public vulkan.VkResult Invoke(vulkan.VkInstance instance, uint* pPhysicalDeviceC
public bool IsNull => (nint)Value == 0;
}
- public readonly partial struct PFN_vkGetPhysicalDeviceFeatures : IEquatable, IvkFunctionPointer
+ public readonly partial struct PFN_vkGetPhysicalDeviceFeatures : IEquatable, IvkFunctionPointer
{
public PFN_vkGetPhysicalDeviceFeatures(delegate*unmanaged[Stdcall] value) => this.Value = value;
@@ -54347,6 +54377,11 @@ public vulkan.VkResult Invoke(vulkan.VkInstance instance, uint* pPhysicalDeviceC
public static bool operator !=(PFN_vkGetPhysicalDeviceFeatures left, PFN_vkGetPhysicalDeviceFeatures right) => !left.Equals(right);
+ ///
+ /// Gets the prototype of the function `vkGetPhysicalDeviceFeatures`.
+ ///
+ public static vkFunctionPointerPrototype Prototype => new("vkGetPhysicalDeviceFeatures"u8);
+
///
/// Reports capabilities of a physical device
///
@@ -54365,7 +54400,7 @@ public void Invoke(vulkan.VkPhysicalDevice physicalDevice, vulkan.VkPhysicalDevi
public bool IsNull => (nint)Value == 0;
}
- public readonly partial struct PFN_vkGetPhysicalDeviceFormatProperties : IEquatable, IvkFunctionPointer
+ public readonly partial struct PFN_vkGetPhysicalDeviceFormatProperties : IEquatable, IvkFunctionPointer
{
public PFN_vkGetPhysicalDeviceFormatProperties(delegate*unmanaged[Stdcall] value) => this.Value = value;
@@ -54387,6 +54422,11 @@ public void Invoke(vulkan.VkPhysicalDevice physicalDevice, vulkan.VkPhysicalDevi
public static bool operator !=(PFN_vkGetPhysicalDeviceFormatProperties left, PFN_vkGetPhysicalDeviceFormatProperties right) => !left.Equals(right);
+ ///
+ /// Gets the prototype of the function `vkGetPhysicalDeviceFormatProperties`.
+ ///
+ public static vkFunctionPointerPrototype Prototype => new("vkGetPhysicalDeviceFormatProperties"u8);
+
///
/// Lists physical device's format capabilities
///
@@ -54406,7 +54446,7 @@ public void Invoke(vulkan.VkPhysicalDevice physicalDevice, vulkan.VkFormat forma
public bool IsNull => (nint)Value == 0;
}
- public readonly partial struct PFN_vkGetPhysicalDeviceImageFormatProperties : IEquatable, IvkFunctionPointer
+ public readonly partial struct PFN_vkGetPhysicalDeviceImageFormatProperties : IEquatable, IvkFunctionPointer
{
public PFN_vkGetPhysicalDeviceImageFormatProperties(delegate*unmanaged[Stdcall] value) => this.Value = value;
@@ -54428,6 +54468,11 @@ public void Invoke(vulkan.VkPhysicalDevice physicalDevice, vulkan.VkFormat forma
public static bool operator !=(PFN_vkGetPhysicalDeviceImageFormatProperties left, PFN_vkGetPhysicalDeviceImageFormatProperties right) => !left.Equals(right);
+ ///
+ /// Gets the prototype of the function `vkGetPhysicalDeviceImageFormatProperties`.
+ ///
+ public static vkFunctionPointerPrototype Prototype => new("vkGetPhysicalDeviceImageFormatProperties"u8);
+
///
/// Lists physical device's image format capabilities
///
@@ -54457,7 +54502,7 @@ public vulkan.VkResult Invoke(vulkan.VkPhysicalDevice physicalDevice, vulkan.VkF
public bool IsNull => (nint)Value == 0;
}
- public readonly partial struct PFN_vkGetPhysicalDeviceProperties : IEquatable, IvkFunctionPointer
+ public readonly partial struct PFN_vkGetPhysicalDeviceProperties : IEquatable, IvkFunctionPointer
{
public PFN_vkGetPhysicalDeviceProperties(delegate*unmanaged[Stdcall] value) => this.Value = value;
@@ -54479,6 +54524,11 @@ public vulkan.VkResult Invoke(vulkan.VkPhysicalDevice physicalDevice, vulkan.VkF
public static bool operator !=(PFN_vkGetPhysicalDeviceProperties left, PFN_vkGetPhysicalDeviceProperties right) => !left.Equals(right);
+ ///
+ /// Gets the prototype of the function `vkGetPhysicalDeviceProperties`.
+ ///
+ public static vkFunctionPointerPrototype Prototype => new("vkGetPhysicalDeviceProperties"u8);
+
///
/// Returns properties of a physical device
///
@@ -54497,7 +54547,7 @@ public void Invoke(vulkan.VkPhysicalDevice physicalDevice, vulkan.VkPhysicalDevi
public bool IsNull => (nint)Value == 0;
}
- public readonly partial struct PFN_vkGetPhysicalDeviceQueueFamilyProperties : IEquatable, IvkFunctionPointer
+ public readonly partial struct PFN_vkGetPhysicalDeviceQueueFamilyProperties : IEquatable, IvkFunctionPointer
{
public PFN_vkGetPhysicalDeviceQueueFamilyProperties(delegate*unmanaged[Stdcall] value) => this.Value = value;
@@ -54519,6 +54569,11 @@ public void Invoke(vulkan.VkPhysicalDevice physicalDevice, vulkan.VkPhysicalDevi
public static bool operator !=(PFN_vkGetPhysicalDeviceQueueFamilyProperties left, PFN_vkGetPhysicalDeviceQueueFamilyProperties right) => !left.Equals(right);
+ ///
+ /// Gets the prototype of the function `vkGetPhysicalDeviceQueueFamilyProperties`.
+ ///
+ public static vkFunctionPointerPrototype Prototype => new("vkGetPhysicalDeviceQueueFamilyProperties"u8);
+
///
/// Reports properties of the queues of the specified physical device
///
@@ -54538,7 +54593,7 @@ public void Invoke(vulkan.VkPhysicalDevice physicalDevice, uint* pQueueFamilyPro
public bool IsNull => (nint)Value == 0;
}
- public readonly partial struct PFN_vkGetPhysicalDeviceMemoryProperties : IEquatable, IvkFunctionPointer
+ public readonly partial struct PFN_vkGetPhysicalDeviceMemoryProperties : IEquatable, IvkFunctionPointer
{
public PFN_vkGetPhysicalDeviceMemoryProperties(delegate*unmanaged[Stdcall] value) => this.Value = value;
@@ -54560,6 +54615,11 @@ public void Invoke(vulkan.VkPhysicalDevice physicalDevice, uint* pQueueFamilyPro
public static bool operator !=(PFN_vkGetPhysicalDeviceMemoryProperties left, PFN_vkGetPhysicalDeviceMemoryProperties right) => !left.Equals(right);
+ ///
+ /// Gets the prototype of the function `vkGetPhysicalDeviceMemoryProperties`.
+ ///
+ public static vkFunctionPointerPrototype Prototype => new("vkGetPhysicalDeviceMemoryProperties"u8);
+
///
/// Reports memory information for the specified physical device
///
@@ -54578,7 +54638,7 @@ public void Invoke(vulkan.VkPhysicalDevice physicalDevice, vulkan.VkPhysicalDevi
public bool IsNull => (nint)Value == 0;
}
- public readonly partial struct PFN_vkCreateDevice : IEquatable, IvkFunctionPointer
+ public readonly partial struct PFN_vkCreateDevice : IEquatable, IvkFunctionPointer
{
public PFN_vkCreateDevice(delegate*unmanaged[Stdcall] value) => this.Value = value;
@@ -54600,6 +54660,11 @@ public void Invoke(vulkan.VkPhysicalDevice physicalDevice, vulkan.VkPhysicalDevi
public static bool operator !=(PFN_vkCreateDevice left, PFN_vkCreateDevice right) => !left.Equals(right);
+ ///
+ /// Gets the prototype of the function `vkCreateDevice`.
+ ///
+ public static vkFunctionPointerPrototype Prototype => new("vkCreateDevice"u8);
+
///
/// Create a new device instance
///
@@ -54626,7 +54691,7 @@ public vulkan.VkResult Invoke(vulkan.VkPhysicalDevice physicalDevice, vulkan.VkD
public bool IsNull => (nint)Value == 0;
}
- public readonly partial struct PFN_vkEnumerateInstanceExtensionProperties : IEquatable, IvkFunctionPointer
+ public readonly partial struct PFN_vkEnumerateInstanceExtensionProperties : IEquatable, IvkFunctionPointer
{
public PFN_vkEnumerateInstanceExtensionProperties(delegate*unmanaged[Stdcall] value) => this.Value = value;
@@ -54648,6 +54713,11 @@ public vulkan.VkResult Invoke(vulkan.VkPhysicalDevice physicalDevice, vulkan.VkD
public static bool operator !=(PFN_vkEnumerateInstanceExtensionProperties left, PFN_vkEnumerateInstanceExtensionProperties right) => !left.Equals(right);
+ ///
+ /// Gets the prototype of the function `vkEnumerateInstanceExtensionProperties`.
+ ///
+ public static vkFunctionPointerPrototype Prototype => new("vkEnumerateInstanceExtensionProperties"u8);
+
///
/// Returns up to requested number of global extension properties
///
@@ -54673,7 +54743,7 @@ public vulkan.VkResult Invoke(byte* pLayerName, uint* pPropertyCount, vulkan.VkE
public bool IsNull => (nint)Value == 0;
}
- public readonly partial struct PFN_vkEnumerateDeviceExtensionProperties : IEquatable, IvkFunctionPointer
+ public readonly partial struct PFN_vkEnumerateDeviceExtensionProperties : IEquatable, IvkFunctionPointer
{
public PFN_vkEnumerateDeviceExtensionProperties(delegate*unmanaged[Stdcall] value) => this.Value = value;
@@ -54695,6 +54765,11 @@ public vulkan.VkResult Invoke(byte* pLayerName, uint* pPropertyCount, vulkan.VkE
public static bool operator !=(PFN_vkEnumerateDeviceExtensionProperties left, PFN_vkEnumerateDeviceExtensionProperties right) => !left.Equals(right);
+ ///
+ /// Gets the prototype of the function `vkEnumerateDeviceExtensionProperties`.
+ ///
+ public static vkFunctionPointerPrototype Prototype => new("vkEnumerateDeviceExtensionProperties"u8);
+
///
/// Returns properties of available physical device extensions
///
@@ -54721,7 +54796,7 @@ public vulkan.VkResult Invoke(vulkan.VkPhysicalDevice physicalDevice, byte* pLay
public bool IsNull => (nint)Value == 0;
}
- public readonly partial struct PFN_vkEnumerateInstanceLayerProperties : IEquatable, IvkFunctionPointer
+ public readonly partial struct PFN_vkEnumerateInstanceLayerProperties : IEquatable, IvkFunctionPointer
{
public PFN_vkEnumerateInstanceLayerProperties(delegate*unmanaged[Stdcall] value) => this.Value = value;
@@ -54743,6 +54818,11 @@ public vulkan.VkResult Invoke(vulkan.VkPhysicalDevice physicalDevice, byte* pLay
public static bool operator !=(PFN_vkEnumerateInstanceLayerProperties left, PFN_vkEnumerateInstanceLayerProperties right) => !left.Equals(right);
+ ///
+ /// Gets the prototype of the function `vkEnumerateInstanceLayerProperties`.
+ ///
+ public static vkFunctionPointerPrototype Prototype => new("vkEnumerateInstanceLayerProperties"u8);
+
///
/// Returns up to requested number of global layer properties
///
@@ -54767,7 +54847,7 @@ public vulkan.VkResult Invoke(uint* pPropertyCount, vulkan.VkLayerProperties* pP
public bool IsNull => (nint)Value == 0;
}
- public readonly partial struct PFN_vkEnumerateDeviceLayerProperties : IEquatable, IvkFunctionPointer
+ public readonly partial struct PFN_vkEnumerateDeviceLayerProperties : IEquatable, IvkFunctionPointer
{
public PFN_vkEnumerateDeviceLayerProperties(delegate*unmanaged[Stdcall] value) => this.Value = value;
@@ -54789,6 +54869,11 @@ public vulkan.VkResult Invoke(uint* pPropertyCount, vulkan.VkLayerProperties* pP
public static bool operator !=(PFN_vkEnumerateDeviceLayerProperties left, PFN_vkEnumerateDeviceLayerProperties right) => !left.Equals(right);
+ ///
+ /// Gets the prototype of the function `vkEnumerateDeviceLayerProperties`.
+ ///
+ public static vkFunctionPointerPrototype Prototype => new("vkEnumerateDeviceLayerProperties"u8);
+
///
/// Returns properties of available physical device layers
///
@@ -54814,7 +54899,7 @@ public vulkan.VkResult Invoke(vulkan.VkPhysicalDevice physicalDevice, uint* pPro
public bool IsNull => (nint)Value == 0;
}
- public readonly partial struct PFN_vkGetDeviceQueue : IEquatable, IvkFunctionPointer
+ public readonly partial struct PFN_vkGetDeviceQueue : IEquatable, IvkFunctionPointer
{
public PFN_vkGetDeviceQueue(delegate*unmanaged[Stdcall] value) => this.Value = value;
@@ -54836,6 +54921,11 @@ public vulkan.VkResult Invoke(vulkan.VkPhysicalDevice physicalDevice, uint* pPro
public static bool operator !=(PFN_vkGetDeviceQueue left, PFN_vkGetDeviceQueue right) => !left.Equals(right);
+ ///
+ /// Gets the prototype of the function `vkGetDeviceQueue`.
+ ///
+ public static vkFunctionPointerPrototype Prototype => new("vkGetDeviceQueue"u8);
+
///
/// Get a queue handle from a device
///
@@ -54856,7 +54946,7 @@ public void Invoke(vulkan.VkDevice device, uint queueFamilyIndex, uint queueInde
public bool IsNull => (nint)Value == 0;
}
- public readonly partial struct PFN_vkQueueSubmit : IEquatable, IvkFunctionPointer
+ public readonly partial struct PFN_vkQueueSubmit : IEquatable, IvkFunctionPointer
{
public PFN_vkQueueSubmit(delegate*unmanaged[Stdcall] value) => this.Value = value;
@@ -54878,6 +54968,11 @@ public void Invoke(vulkan.VkDevice device, uint queueFamilyIndex, uint queueInde
public static bool operator !=(PFN_vkQueueSubmit left, PFN_vkQueueSubmit right) => !left.Equals(right);
+ ///
+ /// Gets the prototype of the function `vkQueueSubmit`.
+ ///
+ public static vkFunctionPointerPrototype Prototype => new("vkQueueSubmit"u8);
+
///
/// Submits a sequence of semaphores or command buffers to a queue
///
@@ -54904,7 +54999,7 @@ public vulkan.VkResult Invoke(vulkan.VkQueue queue, uint submitCount, vulkan.VkS
public bool IsNull => (nint)Value == 0;
}
- public readonly partial struct PFN_vkQueueWaitIdle : IEquatable, IvkFunctionPointer
+ public readonly partial struct PFN_vkQueueWaitIdle : IEquatable, IvkFunctionPointer
{
public PFN_vkQueueWaitIdle(delegate*unmanaged[Stdcall] value) => this.Value = value;
@@ -54926,6 +55021,11 @@ public vulkan.VkResult Invoke(vulkan.VkQueue queue, uint submitCount, vulkan.VkS
public static bool operator !=(PFN_vkQueueWaitIdle left, PFN_vkQueueWaitIdle right) => !left.Equals(right);
+ ///
+ /// Gets the prototype of the function `vkQueueWaitIdle`.
+ ///
+ public static vkFunctionPointerPrototype Prototype => new("vkQueueWaitIdle"u8);
+
///
/// Wait for a queue to become idle
///
@@ -54949,7 +55049,7 @@ public vulkan.VkResult Invoke(vulkan.VkQueue queue)
public bool IsNull => (nint)Value == 0;
}
- public readonly partial struct PFN_vkDeviceWaitIdle : IEquatable, IvkFunctionPointer
+ public readonly partial struct PFN_vkDeviceWaitIdle : IEquatable, IvkFunctionPointer
{
public PFN_vkDeviceWaitIdle(delegate*unmanaged[Stdcall] value) => this.Value = value;
@@ -54971,6 +55071,11 @@ public vulkan.VkResult Invoke(vulkan.VkQueue queue)
public static bool operator !=(PFN_vkDeviceWaitIdle left, PFN_vkDeviceWaitIdle right) => !left.Equals(right);
+ ///
+ /// Gets the prototype of the function `vkDeviceWaitIdle`.
+ ///
+ public static vkFunctionPointerPrototype Prototype => new("vkDeviceWaitIdle"u8);
+
///
/// Wait for a device to become idle
///
@@ -54994,7 +55099,7 @@ public vulkan.VkResult Invoke(vulkan.VkDevice device)
public bool IsNull => (nint)Value == 0;
}
- public readonly partial struct PFN_vkAllocateMemory : IEquatable, IvkFunctionPointer
+ public readonly partial struct PFN_vkAllocateMemory : IEquatable, IvkFunctionPointer
{
public PFN_vkAllocateMemory(delegate*unmanaged[Stdcall] value) => this.Value = value;
@@ -55016,6 +55121,11 @@ public vulkan.VkResult Invoke(vulkan.VkDevice device)
public static bool operator !=(PFN_vkAllocateMemory left, PFN_vkAllocateMemory right) => !left.Equals(right);
+ ///
+ /// Gets the prototype of the function `vkAllocateMemory`.
+ ///
+ public static vkFunctionPointerPrototype Prototype => new("vkAllocateMemory"u8);
+
///
/// Allocate device memory
///
@@ -55042,7 +55152,7 @@ public vulkan.VkResult Invoke(vulkan.VkDevice device, vulkan.VkMemoryAllocateInf
public bool IsNull => (nint)Value == 0;
}
- public readonly partial struct PFN_vkFreeMemory : IEquatable, IvkFunctionPointer
+ public readonly partial struct PFN_vkFreeMemory : IEquatable, IvkFunctionPointer
{
public PFN_vkFreeMemory(delegate*unmanaged[Stdcall] value) => this.Value = value;
@@ -55064,6 +55174,11 @@ public vulkan.VkResult Invoke(vulkan.VkDevice device, vulkan.VkMemoryAllocateInf
public static bool operator !=(PFN_vkFreeMemory left, PFN_vkFreeMemory right) => !left.Equals(right);
+ ///
+ /// Gets the prototype of the function `vkFreeMemory`.
+ ///
+ public static vkFunctionPointerPrototype Prototype => new("vkFreeMemory"u8);
+
///
/// Free device memory
///
@@ -55083,7 +55198,7 @@ public void Invoke(vulkan.VkDevice device, vulkan.VkDeviceMemory memory, vulkan.
public bool IsNull => (nint)Value == 0;
}
- public readonly partial struct PFN_vkMapMemory : IEquatable, IvkFunctionPointer
+ public readonly partial struct PFN_vkMapMemory : IEquatable, IvkFunctionPointer
{
public PFN_vkMapMemory(delegate*unmanaged[Stdcall] value) => this.Value = value;
@@ -55105,6 +55220,11 @@ public void Invoke(vulkan.VkDevice device, vulkan.VkDeviceMemory memory, vulkan.
public static bool operator !=(PFN_vkMapMemory left, PFN_vkMapMemory right) => !left.Equals(right);
+ ///
+ /// Gets the prototype of the function `vkMapMemory`.
+ ///
+ public static vkFunctionPointerPrototype Prototype => new("vkMapMemory"u8);
+
///
/// Map a memory object into application address space
///
@@ -55133,7 +55253,7 @@ public vulkan.VkResult Invoke(vulkan.VkDevice device, vulkan.VkDeviceMemory memo
public bool IsNull => (nint)Value == 0;
}
- public readonly partial struct PFN_vkUnmapMemory : IEquatable, IvkFunctionPointer
+ public readonly partial struct PFN_vkUnmapMemory : IEquatable, IvkFunctionPointer
{
public PFN_vkUnmapMemory(delegate*unmanaged[Stdcall] value) => this.Value = value;
@@ -55155,6 +55275,11 @@ public vulkan.VkResult Invoke(vulkan.VkDevice device, vulkan.VkDeviceMemory memo
public static bool operator !=(PFN_vkUnmapMemory left, PFN_vkUnmapMemory right) => !left.Equals(right);
+ ///
+ /// Gets the prototype of the function `vkUnmapMemory`.
+ ///
+ public static vkFunctionPointerPrototype Prototype => new("vkUnmapMemory"u8);
+
///
/// Unmap a previously mapped memory object
///
@@ -55173,7 +55298,7 @@ public void Invoke(vulkan.VkDevice device, vulkan.VkDeviceMemory memory)
public bool IsNull => (nint)Value == 0;
}
- public readonly partial struct PFN_vkFlushMappedMemoryRanges : IEquatable, IvkFunctionPointer
+ public readonly partial struct PFN_vkFlushMappedMemoryRanges : IEquatable, IvkFunctionPointer
{
public PFN_vkFlushMappedMemoryRanges(delegate*unmanaged[Stdcall] value) => this.Value = value;
@@ -55195,6 +55320,11 @@ public void Invoke(vulkan.VkDevice device, vulkan.VkDeviceMemory memory)
public static bool operator !=(PFN_vkFlushMappedMemoryRanges left, PFN_vkFlushMappedMemoryRanges right) => !left.Equals(right);
+ ///
+ /// Gets the prototype of the function `vkFlushMappedMemoryRanges`.
+ ///
+ public static vkFunctionPointerPrototype Prototype => new("vkFlushMappedMemoryRanges"u8);
+
///
/// Flush mapped memory ranges
///
@@ -55220,7 +55350,7 @@ public vulkan.VkResult Invoke(vulkan.VkDevice device, uint memoryRangeCount, vul
public bool IsNull => (nint)Value == 0;
}
- public readonly partial struct PFN_vkInvalidateMappedMemoryRanges : IEquatable, IvkFunctionPointer
+ public readonly partial struct PFN_vkInvalidateMappedMemoryRanges : IEquatable, IvkFunctionPointer
{
public PFN_vkInvalidateMappedMemoryRanges(delegate*unmanaged[Stdcall] value) => this.Value = value;
@@ -55242,6 +55372,11 @@ public vulkan.VkResult Invoke(vulkan.VkDevice device, uint memoryRangeCount, vul
public static bool operator !=(PFN_vkInvalidateMappedMemoryRanges left, PFN_vkInvalidateMappedMemoryRanges right) => !left.Equals(right);
+ ///
+ /// Gets the prototype of the function `vkInvalidateMappedMemoryRanges`.
+ ///
+ public static vkFunctionPointerPrototype Prototype => new("vkInvalidateMappedMemoryRanges"u8);
+
///
/// Invalidate ranges of mapped memory objects
///
@@ -55267,7 +55402,7 @@ public vulkan.VkResult Invoke(vulkan.VkDevice device, uint memoryRangeCount, vul
public bool IsNull => (nint)Value == 0;
}
- public readonly partial struct PFN_vkGetDeviceMemoryCommitment : IEquatable, IvkFunctionPointer
+ public readonly partial struct PFN_vkGetDeviceMemoryCommitment : IEquatable, IvkFunctionPointer
{
public PFN_vkGetDeviceMemoryCommitment(delegate*unmanaged[Stdcall] value) => this.Value = value;
@@ -55289,6 +55424,11 @@ public vulkan.VkResult Invoke(vulkan.VkDevice device, uint memoryRangeCount, vul
public static bool operator !=(PFN_vkGetDeviceMemoryCommitment left, PFN_vkGetDeviceMemoryCommitment right) => !left.Equals(right);
+ ///
+ /// Gets the prototype of the function `vkGetDeviceMemoryCommitment`.
+ ///
+ public static vkFunctionPointerPrototype Prototype => new("vkGetDeviceMemoryCommitment"u8);
+
///
/// Query the current commitment for a VkDeviceMemory
///
@@ -55308,7 +55448,7 @@ public void Invoke(vulkan.VkDevice device, vulkan.VkDeviceMemory memory, vulkan.
public bool IsNull => (nint)Value == 0;
}
- public readonly partial struct PFN_vkBindBufferMemory : IEquatable, IvkFunctionPointer
+ public readonly partial struct PFN_vkBindBufferMemory : IEquatable, IvkFunctionPointer
{
public PFN_vkBindBufferMemory(delegate*unmanaged[Stdcall] value) => this.Value = value;
@@ -55330,6 +55470,11 @@ public void Invoke(vulkan.VkDevice device, vulkan.VkDeviceMemory memory, vulkan.
public static bool operator !=(PFN_vkBindBufferMemory left, PFN_vkBindBufferMemory right) => !left.Equals(right);
+ ///
+ /// Gets the prototype of the function `vkBindBufferMemory`.
+ ///
+ public static vkFunctionPointerPrototype Prototype => new("vkBindBufferMemory"u8);
+
///
/// Bind device memory to a buffer object
///
@@ -55356,7 +55501,7 @@ public vulkan.VkResult Invoke(vulkan.VkDevice device, vulkan.VkBuffer buffer, vu
public bool IsNull => (nint)Value == 0;
}
- public readonly partial struct PFN_vkBindImageMemory : IEquatable, IvkFunctionPointer
+ public readonly partial struct PFN_vkBindImageMemory : IEquatable