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,50 @@
|
|||
namespace Brutal.VulkanApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <see href="https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkDrawIndirectCommand.html">VkDrawIndirectCommand</see> - Structure specifying an indirect drawing command
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// :refpage: VkDrawIndirectCommand
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// The <c>VkDrawIndirectCommand</c> structure is defined as:
|
||||
/// </para>
|
||||
/// <code>
|
||||
/// // Provided by VK_VERSION_1_0
|
||||
/// typedef struct VkDrawIndirectCommand {
|
||||
/// uint32_t vertexCount;
|
||||
/// uint32_t instanceCount;
|
||||
/// uint32_t firstVertex;
|
||||
/// uint32_t firstInstance;
|
||||
/// } VkDrawIndirectCommand;
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 16)]
|
||||
public partial struct VkDrawIndirectCommand()
|
||||
{
|
||||
/// <summary>
|
||||
/// <c>VertexCount</c> is the number of vertices to draw.
|
||||
/// </summary>
|
||||
[FieldOffset(0)]
|
||||
public int VertexCount;
|
||||
|
||||
/// <summary>
|
||||
/// <c>InstanceCount</c> is the number of instances to draw.
|
||||
/// </summary>
|
||||
[FieldOffset(4)]
|
||||
public int InstanceCount;
|
||||
|
||||
/// <summary>
|
||||
/// <c>FirstVertex</c> is the index of the first vertex to draw.
|
||||
/// </summary>
|
||||
[FieldOffset(8)]
|
||||
public int FirstVertex;
|
||||
|
||||
/// <summary>
|
||||
/// <c>FirstInstance</c> is the instance ID of the first instance to draw.
|
||||
/// </summary>
|
||||
[FieldOffset(12)]
|
||||
public int FirstInstance;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue