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

Describes the rasterizer stencil state. More...

#include <DepthStencilState.h>

Public Attributes

bool enable = false
 Specifies, if stencil state should be used (default: false).
 
unsigned char writeMask = 0xFF
 Specifies the bits to write to the stencil state (default: 0xFF).
 
unsigned char readMask = 0xFF
 Specifies the bits to read from the stencil state (default: 0xFF).
 
StencilTest frontFace = {}
 Describes the stencil test for faces that point towards the camera.
 
StencilTest backFace = {}
 Describes the stencil test for faces that point away from the camera.
 

Detailed Description

Describes the rasterizer stencil state.