Golias Engine
A C++ 20 'game engine' built with SDL3 with wide platform support.
Public Attributes | List of all members
DepthStencilState Struct Reference

#include <rendering_device.h>

Public Attributes

bool depth_test_enable = true
 
bool depth_write_enable = true
 
CompareOp depth_compare_op = CompareOp::LESS
 
bool stencil_test_enable = false
 
StencilOp stencil_fail_op = StencilOp::KEEP
 
StencilOp stencil_depth_fail_op = StencilOp::KEEP
 
StencilOp stencil_pass_op = StencilOp::KEEP
 
CompareOp stencil_compare_op = CompareOp::ALWAYS
 
uint32_t stencil_compare_mask = 0xFF
 
uint32_t stencil_write_mask = 0xFF
 
uint32_t stencil_reference = 0
 

Member Data Documentation

◆ depth_compare_op

CompareOp DepthStencilState::depth_compare_op = CompareOp::LESS

◆ depth_test_enable

bool DepthStencilState::depth_test_enable = true

◆ depth_write_enable

bool DepthStencilState::depth_write_enable = true

◆ stencil_compare_mask

uint32_t DepthStencilState::stencil_compare_mask = 0xFF

◆ stencil_compare_op

CompareOp DepthStencilState::stencil_compare_op = CompareOp::ALWAYS

◆ stencil_depth_fail_op

StencilOp DepthStencilState::stencil_depth_fail_op = StencilOp::KEEP

◆ stencil_fail_op

StencilOp DepthStencilState::stencil_fail_op = StencilOp::KEEP

◆ stencil_pass_op

StencilOp DepthStencilState::stencil_pass_op = StencilOp::KEEP

◆ stencil_reference

uint32_t DepthStencilState::stencil_reference = 0

◆ stencil_test_enable

bool DepthStencilState::stencil_test_enable = false

◆ stencil_write_mask

uint32_t DepthStencilState::stencil_write_mask = 0xFF

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