This commit is contained in:
Rian Drake 2026-10-15 14:09:11 +13:00
commit b578433e37
56 changed files with 784842 additions and 0 deletions

View file

@ -0,0 +1,42 @@
namespace Brutal.VulkanApi
{
/// <summary>
/// <see href="https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkAccelerationStructureKHR.html">VkAccelerationStructureKHR</see> - Opaque handle to an acceleration structure object
/// </summary>
/// <remarks>
/// <para>
/// :refpage: VkAccelerationStructureKHR
/// </para>
/// <para>
/// Acceleration structures for the `<c>VK_KHR_acceleration_structure</c>
/// extension`
/// are represented by <c>VkAccelerationStructureKHR</c> handles:
/// </para>
/// <code>
/// // Provided by VK_KHR_acceleration_structure
/// VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkAccelerationStructureKHR)
/// </code>
/// </remarks>
public readonly unsafe struct VkAccelerationStructureKHR : IVulkanHandle
{
/// <inheritdoc />
public VkObjectType VkObjectType => VkObjectType.AccelerationStructureKHR;
/// <inheritdoc />
public nint VkHandle { get; }
/// <summary>Construct from an existing pointer</summary>
public VkAccelerationStructureKHR(nint handle)
{
VkHandle = handle;
}
/// <inheritdoc />
public bool IsNull()
{
return VkHandle == 0;
}
public static VkAccelerationStructureKHR NullHandle = new();
}
}

View file

@ -0,0 +1,41 @@
namespace Brutal.VulkanApi
{
/// <summary>
/// <see href="https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkAccelerationStructureNV.html">VkAccelerationStructureNV</see> - Opaque handle to an acceleration structure object
/// </summary>
/// <remarks>
/// <para>
/// :refpage: VkAccelerationStructureNV
/// </para>
/// <para>
/// Acceleration structures for the `<c>VK_NV_ray_tracing</c> extension` are
/// represented by the similar <c>VkAccelerationStructureNV</c> handles:
/// </para>
/// <code>
/// // Provided by VK_NV_ray_tracing
/// VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkAccelerationStructureNV)
/// </code>
/// </remarks>
public readonly unsafe struct VkAccelerationStructureNV : IVulkanHandle
{
/// <inheritdoc />
public VkObjectType VkObjectType => VkObjectType.AccelerationStructureNV;
/// <inheritdoc />
public nint VkHandle { get; }
/// <summary>Construct from an existing pointer</summary>
public VkAccelerationStructureNV(nint handle)
{
VkHandle = handle;
}
/// <inheritdoc />
public bool IsNull()
{
return VkHandle == 0;
}
public static VkAccelerationStructureNV NullHandle = new();
}
}

View file

@ -0,0 +1,43 @@
namespace Brutal.VulkanApi
{
/// <summary>
/// <see href="https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkBuffer.html">VkBuffer</see> - Opaque handle to a buffer object
/// </summary>
/// <remarks>
/// <para>
/// Buffers represent linear arrays of data which are used for various purposes
/// by binding them to a graphics or compute pipeline via descriptor sets or
/// certain commands, or by directly specifying them as parameters to certain
/// commands.
/// </para>
/// <para>
/// Buffers are represented by <c>VkBuffer</c> handles:
/// </para>
/// <code>
/// // Provided by VK_VERSION_1_0
/// VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkBuffer)
/// </code>
/// </remarks>
public readonly unsafe struct VkBuffer : IVulkanHandle
{
/// <inheritdoc />
public VkObjectType VkObjectType => VkObjectType.Buffer;
/// <inheritdoc />
public nint VkHandle { get; }
/// <summary>Construct from an existing pointer</summary>
public VkBuffer(nint handle)
{
VkHandle = handle;
}
/// <inheritdoc />
public bool IsNull()
{
return VkHandle == 0;
}
public static VkBuffer NullHandle = new();
}
}

View file

@ -0,0 +1,49 @@
namespace Brutal.VulkanApi
{
/// <summary>
/// <see href="https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkBufferView.html">VkBufferView</see> - Opaque handle to a buffer view object
/// </summary>
/// <remarks>
/// <para>
/// A <i>buffer view</i> represents a contiguous range of a buffer and a specific
/// format to be used to interpret the data.
/// Buffer views are used to enable shaders to access buffer contents using
/// <see href="https://registry.khronos.org/vulkan/specs/latest/html/vkspec.html#textures">image operations^</see>.
/// In order to create a valid buffer view, the buffer <i>must</i> have been created
/// with at least one of the following usage flags:
/// </para>
/// <para>
/// * <c>VK_BUFFER_USAGE_UNIFORM_TEXEL_BUFFER_BIT</c>
/// * <c>VK_BUFFER_USAGE_STORAGE_TEXEL_BUFFER_BIT</c>
/// </para>
/// <para>
/// Buffer views are represented by <c>VkBufferView</c> handles:
/// </para>
/// <code>
/// // Provided by VK_VERSION_1_0
/// VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkBufferView)
/// </code>
/// </remarks>
public readonly unsafe struct VkBufferView : IVulkanHandle
{
/// <inheritdoc />
public VkObjectType VkObjectType => VkObjectType.BufferView;
/// <inheritdoc />
public nint VkHandle { get; }
/// <summary>Construct from an existing pointer</summary>
public VkBufferView(nint handle)
{
VkHandle = handle;
}
/// <inheritdoc />
public bool IsNull()
{
return VkHandle == 0;
}
public static VkBufferView NullHandle = new();
}
}

View file

@ -0,0 +1,45 @@
namespace Brutal.VulkanApi
{
/// <summary>
/// <see href="https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkCommandBuffer.html">VkCommandBuffer</see> - Opaque handle to a command buffer object
/// </summary>
/// <remarks>
/// <para>
/// Command buffers are objects used to record commands which <i>can</i> be
/// subsequently submitted to a device queue for execution.
/// There are two levels of command buffers - <i>primary command buffers</i>, which
/// <i>can</i> execute secondary command buffers, and which are submitted to queues,
/// and <i>secondary command buffers</i>, which <i>can</i> be executed by primary command
/// buffers, and which are not directly submitted to queues.
/// </para>
/// <para>
/// Command buffers are represented by <c>VkCommandBuffer</c> handles:
/// </para>
/// <code>
/// // Provided by VK_VERSION_1_0
/// VK_DEFINE_HANDLE(VkCommandBuffer)
/// </code>
/// </remarks>
public readonly unsafe struct VkCommandBuffer : IVulkanHandle
{
/// <inheritdoc />
public VkObjectType VkObjectType => VkObjectType.CommandBuffer;
/// <inheritdoc />
public nint VkHandle { get; }
/// <summary>Construct from an existing pointer</summary>
public VkCommandBuffer(nint handle)
{
VkHandle = handle;
}
/// <inheritdoc />
public bool IsNull()
{
return VkHandle == 0;
}
public static VkCommandBuffer NullHandle = new();
}
}

View file

@ -0,0 +1,47 @@
namespace Brutal.VulkanApi
{
/// <summary>
/// <see href="https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkCommandPool.html">VkCommandPool</see> - Opaque handle to a command pool object
/// </summary>
/// <remarks>
/// <para>
/// Command pools are opaque objects that command buffer memory is allocated
/// from, and which allow the implementation to amortize the cost of resource
/// creation across multiple command buffers.
/// Command pools are externally synchronized, meaning that a command pool <i>must</i>
/// not be used concurrently in multiple threads.
/// That includes use via recording commands on any command buffers allocated
/// from the pool, as well as operations that allocate, free, and reset command
/// buffers or the pool itself.
/// </para>
/// <para>
/// Command pools are represented by <c>VkCommandPool</c> handles:
/// </para>
/// <code>
/// // Provided by VK_VERSION_1_0
/// VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkCommandPool)
/// </code>
/// </remarks>
public readonly unsafe struct VkCommandPool : IVulkanHandle
{
/// <inheritdoc />
public VkObjectType VkObjectType => VkObjectType.CommandPool;
/// <inheritdoc />
public nint VkHandle { get; }
/// <summary>Construct from an existing pointer</summary>
public VkCommandPool(nint handle)
{
VkHandle = handle;
}
/// <inheritdoc />
public bool IsNull()
{
return VkHandle == 0;
}
public static VkCommandPool NullHandle = new();
}
}

View file

@ -0,0 +1,39 @@
namespace Brutal.VulkanApi
{
/// <summary>
/// <see href="https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkCuFunctionNVX.html">VkCuFunctionNVX</see> - Stub description of VkCuFunctionNVX
/// </summary>
/// <remarks>
/// <para>
/// There is currently no specification language written for this type.
/// This section acts only as placeholder and to avoid dead links in the
/// specification and reference pages.
/// </para>
/// <code>
/// // Provided by VK_NVX_binary_import
/// VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkCuFunctionNVX)
/// </code>
/// </remarks>
public readonly unsafe struct VkCuFunctionNVX : IVulkanHandle
{
/// <inheritdoc />
public VkObjectType VkObjectType => VkObjectType.CuFunctionNVX;
/// <inheritdoc />
public nint VkHandle { get; }
/// <summary>Construct from an existing pointer</summary>
public VkCuFunctionNVX(nint handle)
{
VkHandle = handle;
}
/// <inheritdoc />
public bool IsNull()
{
return VkHandle == 0;
}
public static VkCuFunctionNVX NullHandle = new();
}
}

View file

@ -0,0 +1,39 @@
namespace Brutal.VulkanApi
{
/// <summary>
/// <see href="https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkCuModuleNVX.html">VkCuModuleNVX</see> - Stub description of VkCuModuleNVX
/// </summary>
/// <remarks>
/// <para>
/// There is currently no specification language written for this type.
/// This section acts only as placeholder and to avoid dead links in the
/// specification and reference pages.
/// </para>
/// <code>
/// // Provided by VK_NVX_binary_import
/// VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkCuModuleNVX)
/// </code>
/// </remarks>
public readonly unsafe struct VkCuModuleNVX : IVulkanHandle
{
/// <inheritdoc />
public VkObjectType VkObjectType => VkObjectType.CuModuleNVX;
/// <inheritdoc />
public nint VkHandle { get; }
/// <summary>Construct from an existing pointer</summary>
public VkCuModuleNVX(nint handle)
{
VkHandle = handle;
}
/// <inheritdoc />
public bool IsNull()
{
return VkHandle == 0;
}
public static VkCuModuleNVX NullHandle = new();
}
}

View file

@ -0,0 +1,41 @@
namespace Brutal.VulkanApi
{
/// <summary>
/// <see href="https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkDataGraphPipelineSessionARM.html">VkDataGraphPipelineSessionARM</see> - Opaque handle to a data graph pipeline session object
/// </summary>
/// <remarks>
/// <para>
/// :refpage: VkDataGraphPipelineSessionARM
/// </para>
/// <para>
/// Graph pipeline sessions are represented by
/// <c>VkDataGraphPipelineSessionARM</c> handles:
/// </para>
/// <code>
/// // Provided by VK_ARM_data_graph
/// VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkDataGraphPipelineSessionARM)
/// </code>
/// </remarks>
public readonly unsafe struct VkDataGraphPipelineSessionARM : IVulkanHandle
{
/// <inheritdoc />
public VkObjectType VkObjectType => VkObjectType.DataGraphPipelineSessionARM;
/// <inheritdoc />
public nint VkHandle { get; }
/// <summary>Construct from an existing pointer</summary>
public VkDataGraphPipelineSessionARM(nint handle)
{
VkHandle = handle;
}
/// <inheritdoc />
public bool IsNull()
{
return VkHandle == 0;
}
public static VkDataGraphPipelineSessionARM NullHandle = new();
}
}

View file

@ -0,0 +1,38 @@
namespace Brutal.VulkanApi
{
/// <summary>
/// <see href="https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkDebugReportCallbackEXT.html">VkDebugReportCallbackEXT</see> - Opaque handle to a debug report callback object
/// </summary>
/// <remarks>
/// <para>
/// Debug report callbacks are represented by <c>VkDebugReportCallbackEXT</c>
/// handles:
/// </para>
/// <code>
/// // Provided by VK_EXT_debug_report
/// VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkDebugReportCallbackEXT)
/// </code>
/// </remarks>
public readonly unsafe struct VkDebugReportCallbackEXT : IVulkanHandle
{
/// <inheritdoc />
public VkObjectType VkObjectType => VkObjectType.DebugReportCallbackEXT;
/// <inheritdoc />
public nint VkHandle { get; }
/// <summary>Construct from an existing pointer</summary>
public VkDebugReportCallbackEXT(nint handle)
{
VkHandle = handle;
}
/// <inheritdoc />
public bool IsNull()
{
return VkHandle == 0;
}
public static VkDebugReportCallbackEXT NullHandle = new();
}
}

View file

@ -0,0 +1,38 @@
namespace Brutal.VulkanApi
{
/// <summary>
/// <see href="https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkDebugUtilsMessengerEXT.html">VkDebugUtilsMessengerEXT</see> - Opaque handle to a debug messenger object
/// </summary>
/// <remarks>
/// <para>
/// A <c>VkDebugUtilsMessengerEXT</c> is a messenger object which handles passing
/// along debug messages to a provided debug callback.
/// </para>
/// <code>
/// // Provided by VK_EXT_debug_utils
/// VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkDebugUtilsMessengerEXT)
/// </code>
/// </remarks>
public readonly unsafe struct VkDebugUtilsMessengerEXT : IVulkanHandle
{
/// <inheritdoc />
public VkObjectType VkObjectType => VkObjectType.DebugUtilsMessengerEXT;
/// <inheritdoc />
public nint VkHandle { get; }
/// <summary>Construct from an existing pointer</summary>
public VkDebugUtilsMessengerEXT(nint handle)
{
VkHandle = handle;
}
/// <inheritdoc />
public bool IsNull()
{
return VkHandle == 0;
}
public static VkDebugUtilsMessengerEXT NullHandle = new();
}
}

View file

@ -0,0 +1,37 @@
namespace Brutal.VulkanApi
{
/// <summary>
/// <see href="https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkDeferredOperationKHR.html">VkDeferredOperationKHR</see> - A deferred operation
/// </summary>
/// <remarks>
/// <para>
/// The <c>VkDeferredOperationKHR</c> handle is defined as:
/// </para>
/// <code>
/// // Provided by VK_KHR_deferred_host_operations
/// VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkDeferredOperationKHR)
/// </code>
/// </remarks>
public readonly unsafe struct VkDeferredOperationKHR : IVulkanHandle
{
/// <inheritdoc />
public VkObjectType VkObjectType => VkObjectType.DeferredOperationKHR;
/// <inheritdoc />
public nint VkHandle { get; }
/// <summary>Construct from an existing pointer</summary>
public VkDeferredOperationKHR(nint handle)
{
VkHandle = handle;
}
/// <inheritdoc />
public bool IsNull()
{
return VkHandle == 0;
}
public static VkDeferredOperationKHR NullHandle = new();
}
}

View file

@ -0,0 +1,44 @@
namespace Brutal.VulkanApi
{
/// <summary>
/// <see href="https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkDescriptorPool.html">VkDescriptorPool</see> - Opaque handle to a descriptor pool object
/// </summary>
/// <remarks>
/// <para>
/// A <i>descriptor pool</i> maintains a pool of descriptors, from which descriptor
/// sets are allocated.
/// Descriptor pools are externally synchronized, meaning that the application
/// <i>must</i> not allocate and/or free descriptor sets from the same pool in
/// multiple threads simultaneously.
/// </para>
/// <para>
/// Descriptor pools are represented by <c>VkDescriptorPool</c> handles:
/// </para>
/// <code>
/// // Provided by VK_VERSION_1_0
/// VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkDescriptorPool)
/// </code>
/// </remarks>
public readonly unsafe struct VkDescriptorPool : IVulkanHandle
{
/// <inheritdoc />
public VkObjectType VkObjectType => VkObjectType.DescriptorPool;
/// <inheritdoc />
public nint VkHandle { get; }
/// <summary>Construct from an existing pointer</summary>
public VkDescriptorPool(nint handle)
{
VkHandle = handle;
}
/// <inheritdoc />
public bool IsNull()
{
return VkHandle == 0;
}
public static VkDescriptorPool NullHandle = new();
}
}

View file

@ -0,0 +1,38 @@
namespace Brutal.VulkanApi
{
/// <summary>
/// <see href="https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkDescriptorSet.html">VkDescriptorSet</see> - Opaque handle to a descriptor set object
/// </summary>
/// <remarks>
/// <para>
/// Descriptor sets are allocated from descriptor pool objects, and are
/// represented by <c>VkDescriptorSet</c> handles:
/// </para>
/// <code>
/// // Provided by VK_VERSION_1_0
/// VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkDescriptorSet)
/// </code>
/// </remarks>
public readonly unsafe struct VkDescriptorSet : IVulkanHandle
{
/// <inheritdoc />
public VkObjectType VkObjectType => VkObjectType.DescriptorSet;
/// <inheritdoc />
public nint VkHandle { get; }
/// <summary>Construct from an existing pointer</summary>
public VkDescriptorSet(nint handle)
{
VkHandle = handle;
}
/// <inheritdoc />
public bool IsNull()
{
return VkHandle == 0;
}
public static VkDescriptorSet NullHandle = new();
}
}

View file

@ -0,0 +1,46 @@
namespace Brutal.VulkanApi
{
/// <summary>
/// <see href="https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkDescriptorSetLayout.html">VkDescriptorSetLayout</see> - Opaque handle to a descriptor set layout object
/// </summary>
/// <remarks>
/// <para>
/// A descriptor set layout object is defined by an array of zero or more
/// descriptor bindings.
/// Each individual descriptor binding is specified by a descriptor type, a
/// count (array size) of the number of descriptors in the binding, a set of
/// shader stages that <i>can</i> access the binding, and (if using immutable
/// samplers) an array of sampler descriptors.
/// </para>
/// <para>
/// Descriptor set layout objects are represented by <c>VkDescriptorSetLayout</c>
/// handles:
/// </para>
/// <code>
/// // Provided by VK_VERSION_1_0
/// VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkDescriptorSetLayout)
/// </code>
/// </remarks>
public readonly unsafe struct VkDescriptorSetLayout : IVulkanHandle
{
/// <inheritdoc />
public VkObjectType VkObjectType => VkObjectType.DescriptorSetLayout;
/// <inheritdoc />
public nint VkHandle { get; }
/// <summary>Construct from an existing pointer</summary>
public VkDescriptorSetLayout(nint handle)
{
VkHandle = handle;
}
/// <inheritdoc />
public bool IsNull()
{
return VkHandle == 0;
}
public static VkDescriptorSetLayout NullHandle = new();
}
}

View file

@ -0,0 +1,44 @@
namespace Brutal.VulkanApi
{
/// <summary>
/// <see href="https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkDescriptorUpdateTemplate.html">VkDescriptorUpdateTemplate</see> - Opaque handle to a descriptor update template
/// </summary>
/// <remarks>
/// <para>
/// A descriptor update template specifies a mapping from descriptor update
/// information in host memory to descriptors in a descriptor set.
/// It is designed to avoid passing redundant information to the driver when
/// frequently updating the same set of descriptors in descriptor sets.
/// </para>
/// <para>
/// Descriptor update template objects are represented by
/// <c>VkDescriptorUpdateTemplate</c> handles:
/// </para>
/// <code>
/// // Provided by VK_VERSION_1_1
/// VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkDescriptorUpdateTemplate)
/// </code>
/// </remarks>
public readonly unsafe struct VkDescriptorUpdateTemplate : IVulkanHandle
{
/// <inheritdoc />
public VkObjectType VkObjectType => VkObjectType.DescriptorUpdateTemplate;
/// <inheritdoc />
public nint VkHandle { get; }
/// <summary>Construct from an existing pointer</summary>
public VkDescriptorUpdateTemplate(nint handle)
{
VkHandle = handle;
}
/// <inheritdoc />
public bool IsNull()
{
return VkHandle == 0;
}
public static VkDescriptorUpdateTemplate NullHandle = new();
}
}

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,38 @@
namespace Brutal.VulkanApi
{
/// <summary>
/// <see href="https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkDeviceMemory.html">VkDeviceMemory</see> - Opaque handle to a device memory object
/// </summary>
/// <remarks>
/// <para>
/// A Vulkan device operates on data in device memory via memory objects that
/// are represented in the API by a <c>VkDeviceMemory</c> handle:
/// </para>
/// <code>
/// // Provided by VK_VERSION_1_0
/// VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkDeviceMemory)
/// </code>
/// </remarks>
public readonly unsafe struct VkDeviceMemory : IVulkanHandle
{
/// <inheritdoc />
public VkObjectType VkObjectType => VkObjectType.DeviceMemory;
/// <inheritdoc />
public nint VkHandle { get; }
/// <summary>Construct from an existing pointer</summary>
public VkDeviceMemory(nint handle)
{
VkHandle = handle;
}
/// <inheritdoc />
public bool IsNull()
{
return VkHandle == 0;
}
public static VkDeviceMemory NullHandle = new();
}
}

View file

@ -0,0 +1,37 @@
namespace Brutal.VulkanApi
{
/// <summary>
/// <see href="https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkDisplayKHR.html">VkDisplayKHR</see> - Opaque handle to a display object
/// </summary>
/// <remarks>
/// <para>
/// Displays are represented by <c>VkDisplayKHR</c> handles:
/// </para>
/// <code>
/// // Provided by VK_KHR_display
/// VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkDisplayKHR)
/// </code>
/// </remarks>
public readonly unsafe struct VkDisplayKHR : IVulkanHandle
{
/// <inheritdoc />
public VkObjectType VkObjectType => VkObjectType.DisplayKHR;
/// <inheritdoc />
public nint VkHandle { get; }
/// <summary>Construct from an existing pointer</summary>
public VkDisplayKHR(nint handle)
{
VkHandle = handle;
}
/// <inheritdoc />
public bool IsNull()
{
return VkHandle == 0;
}
public static VkDisplayKHR NullHandle = new();
}
}

View file

@ -0,0 +1,37 @@
namespace Brutal.VulkanApi
{
/// <summary>
/// <see href="https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkDisplayModeKHR.html">VkDisplayModeKHR</see> - Opaque handle to a display mode object
/// </summary>
/// <remarks>
/// <para>
/// Display modes are represented by <c>VkDisplayModeKHR</c> handles:
/// </para>
/// <code>
/// // Provided by VK_KHR_display
/// VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkDisplayModeKHR)
/// </code>
/// </remarks>
public readonly unsafe struct VkDisplayModeKHR : IVulkanHandle
{
/// <inheritdoc />
public VkObjectType VkObjectType => VkObjectType.DisplayModeKHR;
/// <inheritdoc />
public nint VkHandle { get; }
/// <summary>Construct from an existing pointer</summary>
public VkDisplayModeKHR(nint handle)
{
VkHandle = handle;
}
/// <inheritdoc />
public bool IsNull()
{
return VkHandle == 0;
}
public static VkDisplayModeKHR NullHandle = new();
}
}

Some files were not shown because too many files have changed in this diff Show more