mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 04:58:24 +01:00
SOURCE DUMP v1
This commit is contained in:
parent
bd62d51ec9
commit
fb20299e9d
1 changed files with 768360 additions and 0 deletions
|
|
@ -0,0 +1,43 @@
|
|||
namespace Brutal.VulkanApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <see href="https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkExternalComputeQueueNV.html">VkExternalComputeQueueNV</see> - Opaque handle to an external compute queue
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// External compute queues are used to join compatible external APIs to a
|
||||
/// <c>VkDevice</c>, allowing workloads submitted through these external APIs to
|
||||
/// be executed simultaneously to workloads submitted through Vulkan.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// External compute queues are represented by <c>VkExternalComputeQueueNV</c>
|
||||
/// handles:
|
||||
/// </para>
|
||||
/// <code>
|
||||
/// // Provided by VK_NV_external_compute_queue
|
||||
/// VK_DEFINE_HANDLE(VkExternalComputeQueueNV)
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
public readonly unsafe struct VkExternalComputeQueueNV : IVulkanHandle
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public VkObjectType VkObjectType => VkObjectType.ExternalComputeQueueNV;
|
||||
|
||||
/// <inheritdoc />
|
||||
public nint VkHandle { get; }
|
||||
|
||||
/// <summary>Construct from an existing pointer</summary>
|
||||
public VkExternalComputeQueueNV(nint handle)
|
||||
{
|
||||
VkHandle = handle;
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
public bool IsNull()
|
||||
{
|
||||
return VkHandle == 0;
|
||||
}
|
||||
|
||||
public static VkExternalComputeQueueNV NullHandle = new();
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue