mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 13:08:24 +01:00
SOURCE DUMP v1
This commit is contained in:
parent
bd62d51ec9
commit
fb20299e9d
1 changed files with 768360 additions and 0 deletions
46
brutal.vulkan/Brutal.Vulkan/Generated/Handles/VkQueue.gen.cs
Normal file
46
brutal.vulkan/Brutal.Vulkan/Generated/Handles/VkQueue.gen.cs
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
namespace Brutal.VulkanApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <see href="https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkQueue.html">VkQueue</see> - Opaque handle to a queue object
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Creating a logical device also creates the queues associated with that
|
||||
/// device.
|
||||
/// The queues to create are described by a set of <c>VkDeviceQueueCreateInfo</c>
|
||||
/// structures that are passed to <c>vkCreateDevice</c> in
|
||||
/// <c>pQueueCreateInfos</c>.
|
||||
/// Queues cannot: be independently destroyed, and are instead destroyed with
|
||||
/// the <c>VkDevice</c> that they were created from.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// Queues are represented by <c>VkQueue</c> handles:
|
||||
/// </para>
|
||||
/// <code>
|
||||
/// // Provided by VK_VERSION_1_0
|
||||
/// VK_DEFINE_HANDLE(VkQueue)
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
public readonly unsafe struct VkQueue : IVulkanHandle
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public VkObjectType VkObjectType => VkObjectType.Queue;
|
||||
|
||||
/// <inheritdoc />
|
||||
public nint VkHandle { get; }
|
||||
|
||||
/// <summary>Construct from an existing pointer</summary>
|
||||
public VkQueue(nint handle)
|
||||
{
|
||||
VkHandle = handle;
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
public bool IsNull()
|
||||
{
|
||||
return VkHandle == 0;
|
||||
}
|
||||
|
||||
public static VkQueue NullHandle = new();
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue