mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 12:38:24 +01:00
48 lines
2.8 KiB
C#
48 lines
2.8 KiB
C#
namespace Brutal.VulkanApi
|
|
{
|
|
/// <summary>
|
|
/// <see href="https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkPipelineFragmentShadingRateStateCreateInfoKHR.html">VkPipelineFragmentShadingRateStateCreateInfoKHR</see> - Structure specifying parameters controlling the fragment shading rate
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// The <c>VkPipelineFragmentShadingRateStateCreateInfoKHR</c> structure is
|
|
/// defined as:
|
|
/// </para>
|
|
/// <code>
|
|
/// // Provided by VK_KHR_fragment_shading_rate
|
|
/// typedef struct VkPipelineFragmentShadingRateStateCreateInfoKHR {
|
|
/// VkStructureType sType;
|
|
/// const void* pNext;
|
|
/// VkExtent2D fragmentSize;
|
|
/// VkFragmentShadingRateCombinerOpKHR combinerOps[2];
|
|
/// } VkPipelineFragmentShadingRateStateCreateInfoKHR;
|
|
/// </code>
|
|
/// </remarks>
|
|
[StructLayout(LayoutKind.Explicit, Size = 32)]
|
|
public unsafe partial struct VkPipelineFragmentShadingRateStateCreateInfoKHR()
|
|
{
|
|
/// <summary>
|
|
/// <c>sType</c> is a <c>VkStructureType</c> value identifying this structure.
|
|
/// </summary>
|
|
[FieldOffset(0)]
|
|
internal readonly VkStructureType sType = VkStructureType.PipelineFragmentShadingRateStateCreateInfoKHR;
|
|
|
|
/// <summary>
|
|
/// <c>Next</c> is `NULL` or a pointer to a structure extending this structure.
|
|
/// </summary>
|
|
[FieldOffset(8)]
|
|
public void* Next;
|
|
|
|
/// <summary>
|
|
/// <c>FragmentSize</c> specifies a <c>VkExtent2D</c> structure containing the fragment size used to define the pipeline fragment shading rate for drawing commands using this pipeline.
|
|
/// </summary>
|
|
[FieldOffset(16)]
|
|
public VkExtent2D FragmentSize;
|
|
|
|
/// <summary>
|
|
/// <c>CombinerOps</c> specifies a <c>VkFragmentShadingRateCombinerOpKHR</c> value determining how the <see href="https://registry.khronos.org/vulkan/specs/latest/html/vkspec.html#primsrast-fragment-shading-rate-pipeline">pipeline^</see>, <see href="https://registry.khronos.org/vulkan/specs/latest/html/vkspec.html#primsrast-fragment-shading-rate-primitive">primitive^</see>, and <see href="https://registry.khronos.org/vulkan/specs/latest/html/vkspec.html#primsrast-fragment-shading-rate-attachment">attachment shading rates^</see> are <see href="https://registry.khronos.org/vulkan/specs/latest/html/vkspec.html#primsrast-fragment-shading-rate-combining">combined^</see> for fragments generated by drawing commands using the created pipeline.
|
|
/// </summary>
|
|
[FieldOffset(24)]
|
|
public VkFragmentShadingRateCombinerOpKHR_2 CombinerOps;
|
|
}
|
|
}
|