StencilOp Struct Reference

Structure representing the stencil test operation. More...

List of all members.

Public Member Functions

 StencilOp (StencilOpMode fail, StencilOpMode zFail, StencilOpMode zPass)
 Creates the structure representing the stencil test operation.
void Set (StencilOpMode fail, StencilOpMode zFail, StencilOpMode zPass)
 Sets a value to the structure representing the stencil test operation.

Properties

StencilOpMode Fail [get, set]
 Stencil failure mode of the stencil test operation.
StencilOpMode ZFail [get, set]
 Depth failure mode of the stencil test operation.
StencilOpMode ZPass [get, set]
 Depth passing mode of the stencil test operation.

Detailed Description

Structure representing the stencil test operation.


Constructor & Destructor Documentation

StencilOp ( StencilOpMode  fail,
StencilOpMode  zFail,
StencilOpMode  zPass 
)

Creates the structure representing the stencil test operation.

Parameters:
failStencil failure mode of the stencil test operation
zFailDepth failure mode of the stencil test operation
zPassDepth passing mode of the stencil test operation

Member Function Documentation

void Set ( StencilOpMode  fail,
StencilOpMode  zFail,
StencilOpMode  zPass 
)

Sets a value to the structure representing the stencil test operation.

Parameters:
failStencil failure mode of the stencil test operation
zFailDepth failure mode of the stencil test operation
zPassDepth passing mode of the stencil test operation