StencilFunc Struct Reference

Structure representing the stencil test function. More...

List of all members.

Public Member Functions

 StencilFunc (StencilFuncMode mode, int reference, int readMask, int writeMask)
 Creates the structure representing the stencil test function.
void Set (StencilFuncMode mode, int reference, int readMask, int writeMask)
 Sets a value to the structure representing the stencil test function.

Properties

StencilFuncMode Mode [get, set]
 Stencil test function mode.
int Reference [get, set]
 Reference value (0-255) of the stencil test function.
int ReadMask [get, set]
 Read mask (0-255) of the stencil test function.
int WriteMask [get, set]
 Write mask (0-255) of the stencil test function.

Detailed Description

Structure representing the stencil test function.


Constructor & Destructor Documentation

StencilFunc ( StencilFuncMode  mode,
int  reference,
int  readMask,
int  writeMask 
)

Creates the structure representing the stencil test function.

Parameters:
modeStencil test function mode
referenceReference value (0-255) of the stencil test function
readMaskRead mask (0-255) of the stencil test function
writeMaskWrite mask (0-255) of the stencil test function

Member Function Documentation

void Set ( StencilFuncMode  mode,
int  reference,
int  readMask,
int  writeMask 
)

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

Parameters:
modeStencil test function mode
referenceReference value (0-255) of the stencil test function
readMaskRead mask (0-255) of the stencil test function
writeMaskWrite mask (0-255) of the stencil test function