Stencil Buffer State

Applications use the stencil buffer to determine whether a pixel is written to the rendering target surface. For details, see Stencil Buffer Techniques.