1#ifndef VULKAN_DEPTHSTENCIL
2#define VULKAN_DEPTHSTENCIL
4#include <vulkan/vulkan.h>
14 depthStencil.sType = VK_STRUCTURE_TYPE_PIPELINE_DEPTH_STENCIL_STATE_CREATE_INFO;
15 depthStencil.depthTestEnable = VK_TRUE;
16 depthStencil.depthWriteEnable = VK_TRUE;
17 depthStencil.depthCompareOp = VK_COMPARE_OP_LESS;
18 depthStencil.depthBoundsTestEnable = VK_FALSE;
19 depthStencil.minDepthBounds = 0.0f;
20 depthStencil.maxDepthBounds = 1.0f;
21 depthStencil.stencilTestEnable = VK_FALSE;
22 depthStencil.front = {};
23 depthStencil.back = {};
27 DepthStencil(VkPipelineDepthStencilStateCreateInfo baseDepthStencil) : depthStencil{ baseDepthStencil } {}
30 const VkPipelineDepthStencilStateCreateInfo&
operator+()
const {
35 VkPipelineDepthStencilStateCreateInfo depthStencil;
Definition: DepthStencil.h:10
const VkPipelineDepthStencilStateCreateInfo & operator+() const
Definition: DepthStencil.h:30
DepthStencil()
Definition: DepthStencil.h:13
DepthStencil(VkPipelineDepthStencilStateCreateInfo baseDepthStencil)
Definition: DepthStencil.h:27
Definition: Attachment.h:11