mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 13:08: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,68 @@
|
|||
namespace Brutal.VulkanApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <see href="https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkPipelineRenderingCreateInfo.html">VkPipelineRenderingCreateInfo</see> - Structure specifying attachment formats
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// The <c>VkPipelineRenderingCreateInfo</c> structure is defined as:
|
||||
/// </para>
|
||||
/// <code>
|
||||
/// // Provided by VK_VERSION_1_3
|
||||
/// typedef struct VkPipelineRenderingCreateInfo {
|
||||
/// VkStructureType sType;
|
||||
/// const void* pNext;
|
||||
/// uint32_t viewMask;
|
||||
/// uint32_t colorAttachmentCount;
|
||||
/// const VkFormat* pColorAttachmentFormats;
|
||||
/// VkFormat depthAttachmentFormat;
|
||||
/// VkFormat stencilAttachmentFormat;
|
||||
/// } VkPipelineRenderingCreateInfo;
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 40)]
|
||||
public unsafe partial struct VkPipelineRenderingCreateInfo()
|
||||
{
|
||||
/// <summary>
|
||||
/// <c>sType</c> is a <c>VkStructureType</c> value identifying this structure.
|
||||
/// </summary>
|
||||
[FieldOffset(0)]
|
||||
internal readonly VkStructureType sType = VkStructureType.PipelineRenderingCreateInfo;
|
||||
|
||||
/// <summary>
|
||||
/// <c>Next</c> is `NULL` or a pointer to a structure extending this structure.
|
||||
/// </summary>
|
||||
[FieldOffset(8)]
|
||||
public void* Next;
|
||||
|
||||
/// <summary>
|
||||
/// <c>ViewMask</c> is a bitfield of view indices describing which views are active during rendering. It <i>must</i> match <c>VkRenderingInfo::viewMask</c> when rendering.
|
||||
/// </summary>
|
||||
[FieldOffset(16)]
|
||||
public int ViewMask;
|
||||
|
||||
/// <summary>
|
||||
/// <c>ColorAttachmentCount</c> is the number of entries in <c>pColorAttachmentFormats</c>
|
||||
/// </summary>
|
||||
[FieldOffset(20)]
|
||||
public int ColorAttachmentCount;
|
||||
|
||||
/// <summary>
|
||||
/// <c>ColorAttachmentFormats</c> is a pointer to an array of <c>VkFormat</c> values defining the format of color attachments used in this pipeline.
|
||||
/// </summary>
|
||||
[FieldOffset(24)]
|
||||
public VkFormat* ColorAttachmentFormats;
|
||||
|
||||
/// <summary>
|
||||
/// <c>DepthAttachmentFormat</c> is a <c>VkFormat</c> value defining the format of the depth attachment used in this pipeline.
|
||||
/// </summary>
|
||||
[FieldOffset(32)]
|
||||
public VkFormat DepthAttachmentFormat;
|
||||
|
||||
/// <summary>
|
||||
/// <c>StencilAttachmentFormat</c> is a <c>VkFormat</c> value defining the format of the stencil attachment used in this pipeline.
|
||||
/// </summary>
|
||||
[FieldOffset(36)]
|
||||
public VkFormat StencilAttachmentFormat;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue