mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 13:08:24 +01:00
first
This commit is contained in:
parent
bd62d51ec9
commit
b578433e37
1 changed files with 784842 additions and 0 deletions
40
Brutal.Vulkan/Generated/Structs/VkClearRect.gen.cs
Normal file
40
Brutal.Vulkan/Generated/Structs/VkClearRect.gen.cs
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
namespace Brutal.VulkanApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <see href="https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkClearRect.html">VkClearRect</see> - Structure specifying a clear rectangle
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// The <c>VkClearRect</c> structure is defined as:
|
||||
/// </para>
|
||||
/// <code>
|
||||
/// // Provided by VK_VERSION_1_0
|
||||
/// typedef struct VkClearRect {
|
||||
/// VkRect2D rect;
|
||||
/// uint32_t baseArrayLayer;
|
||||
/// uint32_t layerCount;
|
||||
/// } VkClearRect;
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 24)]
|
||||
public partial struct VkClearRect()
|
||||
{
|
||||
/// <summary>
|
||||
/// <c>Rect</c> is the two-dimensional region to be cleared.
|
||||
/// </summary>
|
||||
[FieldOffset(0)]
|
||||
public VkRect2D Rect;
|
||||
|
||||
/// <summary>
|
||||
/// <c>BaseArrayLayer</c> is the first layer to be cleared.
|
||||
/// </summary>
|
||||
[FieldOffset(16)]
|
||||
public int BaseArrayLayer;
|
||||
|
||||
/// <summary>
|
||||
/// <c>LayerCount</c> is the number of layers to clear.
|
||||
/// </summary>
|
||||
[FieldOffset(20)]
|
||||
public int LayerCount;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue