SPARK  0.1.0
A general purpose game engine written in C++.
Loading...
Searching...
No Matches
spark::render::DepthStencilState::StencilTest Struct Reference

Describes a stencil test for either front or back faces. More...

#include <DepthStencilState.h>

Public Attributes

StencilOperation stencilFailOp = StencilOperation::Keep
 The operation to apply to the stencil buffer, if the stencil test fails (default: StencilOperation::Keep).
 
StencilOperation stencilPassOp = StencilOperation::Replace
 The operation to apply to the stencil buffer, if the stencil test passes (default: StencilOperation::Keep).
 
StencilOperation depthFailOp = StencilOperation::Keep
 The operation to apply to the stencil buffer, if the depth test fails (default: StencilOperation::Keep).
 
CompareOperation operation = CompareOperation::Never
 The operation use for stencil testing (default: CompareOperation::Never).
 

Detailed Description

Describes a stencil test for either front or back faces.