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

#include <graphicsPipeline.h>

Public Member Functions

HGI_API HgiDepthStencilState ()
 

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 195 of file graphicsPipeline.h.

Constructor & Destructor Documentation

HGI_API HgiDepthStencilState::HgiDepthStencilState ( )

Member Data Documentation

HgiCompareFunction HgiDepthStencilState::depthCompareFn

Definition at line 202 of file graphicsPipeline.h.

bool HgiDepthStencilState::depthTestEnabled

Definition at line 200 of file graphicsPipeline.h.

bool HgiDepthStencilState::depthWriteEnabled

Definition at line 201 of file graphicsPipeline.h.

bool HgiDepthStencilState::stencilTestEnabled

Definition at line 204 of file graphicsPipeline.h.


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