C Specification
The VkPipelineDepthStencilStateCreateInfo structure is defined as:
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;Members
- 
sTypeis the type of this structure.
- 
pNextisNULLor a pointer to an extension-specific structure.
- 
flagsis reserved for future use.
- 
depthTestEnablecontrols whether depth testing is enabled.
- 
depthWriteEnablecontrols whether depth writes are enabled whendepthTestEnableisVK_TRUE. Depth writes are always disabled whendepthTestEnableisVK_FALSE.
- 
depthCompareOpis the comparison operator used in the depth test.
- 
depthBoundsTestEnablecontrols whether depth bounds testing is enabled.
- 
stencilTestEnablecontrols whether stencil testing is enabled.
- 
frontandbackcontrol the parameters of the stencil test.
- 
minDepthBoundsandmaxDepthBoundsdefine the range of values used in the depth bounds test.
Document Notes
For more information, see the Vulkan Specification
This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.
Copyright
Copyright (c) 2014-2020 Khronos Group. This work is licensed under a Creative Commons Attribution 4.0 International License.