namespace Brutal.VulkanApi { /// /// VkPipelineDepthStencilStateCreateInfo - Structure specifying parameters of a newly created pipeline depth stencil state /// /// /// /// The VkPipelineDepthStencilStateCreateInfo structure is defined as: /// /// /// // Provided by VK_VERSION_1_0 /// typedef struct VkPipelineDepthStencilStateCreateInfo { /// VkStructureType sType; /// const void* pNext; /// VkPipelineDepthStencilStateCreateFlags flags; /// VkBool32 depthTestEnable; /// VkBool32 depthWriteEnable; /// VkCompareOp depthCompareOp; /// VkBool32 depthBoundsTestEnable; /// VkBool32 stencilTestEnable; /// VkStencilOpState front; /// VkStencilOpState back; /// float minDepthBounds; /// float maxDepthBounds; /// } VkPipelineDepthStencilStateCreateInfo; /// /// [StructLayout(LayoutKind.Explicit, Size = 104)] public unsafe partial struct VkPipelineDepthStencilStateCreateInfo() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.PipelineDepthStencilStateCreateInfo; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// Flags is reserved for future use. /// [FieldOffset(16)] public VkPipelineDepthStencilStateCreateFlags Flags; /// /// DepthTestEnable controls whether depth testing^ is enabled. /// [FieldOffset(20)] public Brutal.Bool32 DepthTestEnable; /// /// DepthWriteEnable controls whether depth writes^ are enabled when depthTestEnable is VK_TRUE. Depth writes are always disabled when depthTestEnable is VK_FALSE. /// [FieldOffset(24)] public Brutal.Bool32 DepthWriteEnable; /// /// DepthCompareOp is a VkCompareOp value specifying the comparison operator to use in the Depth Comparison^ step of the depth test^. /// [FieldOffset(28)] public VkCompareOp DepthCompareOp; /// /// DepthBoundsTestEnable controls whether depth bounds testing^ is enabled. /// [FieldOffset(32)] public Brutal.Bool32 DepthBoundsTestEnable; /// /// StencilTestEnable controls whether stencil testing^ is enabled. /// [FieldOffset(36)] public Brutal.Bool32 StencilTestEnable; /// /// Front and back are VkStencilOpState values controlling the corresponding parameters of the stencil test^. /// [FieldOffset(40)] public VkStencilOpState Front; /// /// Back /// [FieldOffset(68)] public VkStencilOpState Back; /// /// MinDepthBounds is the minimum depth bound used in the depth bounds test^. /// [FieldOffset(96)] public float MinDepthBounds; /// /// MaxDepthBounds is the maximum depth bound used in the depth bounds test^. /// [FieldOffset(100)] public float MaxDepthBounds; } }