All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HgiDepthStencilState Struct Reference

Properties to configure depth and stencil test. More...

Public Attributes

bool depthTestEnabled
 
bool depthWriteEnabled
 
HgiCompareFunction depthCompareFn
 
bool stencilTestEnabled
 

Detailed Description

Properties to configure depth and stencil test.

  • depthTestEnabled: When enabled uses depthCompareFn to test if a fragment passes the depth test. Note that depth writes are automatically disabled when depthTestEnabled is false.
  • depthWriteEnabled: When enabled uses depthCompareFn to test if a fragment passes the depth test. Note that depth writes are automatically disabled when depthTestEnabled is false.
  • stencilTestEnabled: Enables the stencil test.

Definition at line 199 of file graphicsPipeline.h.


The documentation for this struct was generated from the following file: