Berserk
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
RHIDepthStencilState Class Reference

RHI depth stencil state descriptor. More...

#include <RHIGraphicsPipeline.hpp>

Public Member Functions

 RHIDepthStencilState ()
 
bool operator== (const RHIDepthStencilState &other) const
 

Static Public Member Functions

static RHIDepthStencilState CreateDepthState (bool depthWrite=true)
 

Public Attributes

RHICompareFunction depthCompare: 4
 
bool depthEnable: 1
 
bool depthWrite: 1
 
bool stencilEnable: 1
 
uint8 writeMask
 
uint8 referenceValue
 
uint8 compareMask
 
RHIOperation sfail: 4
 
RHIOperation dfail: 4
 
RHIOperation dpass: 4
 
RHICompareFunction compareFunction: 4
 

Detailed Description

RHI depth stencil state descriptor.

Constructor & Destructor Documentation

◆ RHIDepthStencilState()

RHIDepthStencilState::RHIDepthStencilState ( )
inline

Member Function Documentation

◆ CreateDepthState()

static RHIDepthStencilState RHIDepthStencilState::CreateDepthState ( bool  depthWrite = true)
inlinestatic

◆ operator==()

bool RHIDepthStencilState::operator== ( const RHIDepthStencilState other) const
inline

Member Data Documentation

◆ compareFunction

RHICompareFunction RHIDepthStencilState::compareFunction

◆ compareMask

uint8 RHIDepthStencilState::compareMask

◆ depthCompare

RHICompareFunction RHIDepthStencilState::depthCompare

◆ depthEnable

bool RHIDepthStencilState::depthEnable

◆ depthWrite

bool RHIDepthStencilState::depthWrite

◆ dfail

RHIOperation RHIDepthStencilState::dfail

◆ dpass

RHIOperation RHIDepthStencilState::dpass

◆ referenceValue

uint8 RHIDepthStencilState::referenceValue

◆ sfail

RHIOperation RHIDepthStencilState::sfail

◆ stencilEnable

bool RHIDepthStencilState::stencilEnable

◆ writeMask

uint8 RHIDepthStencilState::writeMask

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