brutal/brutal.vulkan/Brutal.Vulkan/Generated/Structs/VkDrawMeshTasksIndirectCommandNV.gen.cs
2026-10-15 14:12:02 +13:00

33 lines
1.3 KiB
C#

namespace Brutal.VulkanApi
{
/// <summary>
/// <see href="https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkDrawMeshTasksIndirectCommandNV.html">VkDrawMeshTasksIndirectCommandNV</see> - Structure specifying a mesh tasks draw indirect command
/// </summary>
/// <remarks>
/// <para>
/// The <c>VkDrawMeshTasksIndirectCommandNV</c> structure is defined as:
/// </para>
/// <code>
/// // Provided by VK_NV_mesh_shader
/// typedef struct VkDrawMeshTasksIndirectCommandNV {
/// uint32_t taskCount;
/// uint32_t firstTask;
/// } VkDrawMeshTasksIndirectCommandNV;
/// </code>
/// </remarks>
[StructLayout(LayoutKind.Explicit, Size = 8)]
public partial struct VkDrawMeshTasksIndirectCommandNV()
{
/// <summary>
/// <c>TaskCount</c> is the number of local workgroups to dispatch in the X dimension. Y and Z dimension are implicitly set to one.
/// </summary>
[FieldOffset(0)]
public int TaskCount;
/// <summary>
/// <c>FirstTask</c> is the X component of the first workgroup ID.
/// </summary>
[FieldOffset(4)]
public int FirstTask;
}
}