Class VkPipelineDepthStencilStateCreateInfo

  • All Implemented Interfaces:
    java.lang.AutoCloseable, NativeResource, Pointer

    public class VkPipelineDepthStencilStateCreateInfo
    extends Struct
    implements NativeResource
    Structure specifying parameters of a newly created pipeline depth stencil state.
    Valid Usage
    Valid Usage (Implicit)
    See Also

    VkGraphicsPipelineCreateInfo, VkStencilOpState

    Member documentation

    • sType – the type of this structure.
    • pNextNULL or a pointer to an extension-specific structure.
    • flags – reserved for future use.
    • depthTestEnable – controls whether depth testing is enabled.
    • depthWriteEnable – controls whether depth writes are enabled when depthTestEnable is TRUE. Depth writes are always disabled when depthTestEnable is FALSE.
    • depthCompareOp – the comparison operator used in the depth test.
    • depthBoundsTestEnable – controls whether depth bounds testing is enabled.
    • stencilTestEnable – controls whether stencil testing is enabled.
    • frontfront and back control the parameters of the stencil test.
    • back – see front
    • minDepthBoundsminDepthBounds and maxDepthBounds define the range of values used in the depth bounds test.
    • maxDepthBounds – see minDepthBounds

    Layout

    
     struct VkPipelineDepthStencilStateCreateInfo {
         VkStructureType sType;
         void const * pNext;
         VkPipelineDepthStencilStateCreateFlags flags;
         VkBool32 depthTestEnable;
         VkBool32 depthWriteEnable;
         VkCompareOp depthCompareOp;
         VkBool32 depthBoundsTestEnable;
         VkBool32 stencilTestEnable;
         VkStencilOpState front;
         VkStencilOpState back;
         float minDepthBounds;
         float maxDepthBounds;
     }