mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 04:58:24 +01:00
first
This commit is contained in:
parent
bd62d51ec9
commit
b578433e37
1 changed files with 784842 additions and 0 deletions
|
|
@ -0,0 +1,40 @@
|
|||
namespace Brutal.VulkanApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <see href="https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkInputAttachmentAspectReference.html">VkInputAttachmentAspectReference</see> - Structure specifying a subpass/input attachment pair and an aspect mask that <i>can</i> be read.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// The <c>VkInputAttachmentAspectReference</c> structure is defined as:
|
||||
/// </para>
|
||||
/// <code>
|
||||
/// // Provided by VK_VERSION_1_1
|
||||
/// typedef struct VkInputAttachmentAspectReference {
|
||||
/// uint32_t subpass;
|
||||
/// uint32_t inputAttachmentIndex;
|
||||
/// VkImageAspectFlags aspectMask;
|
||||
/// } VkInputAttachmentAspectReference;
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 12)]
|
||||
public partial struct VkInputAttachmentAspectReference()
|
||||
{
|
||||
/// <summary>
|
||||
/// <c>Subpass</c> is an index into the <c>pSubpasses</c> array of the parent <c>VkRenderPassCreateInfo</c> structure.
|
||||
/// </summary>
|
||||
[FieldOffset(0)]
|
||||
public int Subpass;
|
||||
|
||||
/// <summary>
|
||||
/// <c>InputAttachmentIndex</c> is an index into the <c>pInputAttachments</c> of the specified subpass.
|
||||
/// </summary>
|
||||
[FieldOffset(4)]
|
||||
public int InputAttachmentIndex;
|
||||
|
||||
/// <summary>
|
||||
/// <c>AspectMask</c> is a mask of which aspect(s) <i>can</i> be accessed within the specified subpass.
|
||||
/// </summary>
|
||||
[FieldOffset(8)]
|
||||
public VkImageAspectFlags AspectMask;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue