Structure representing the stencil test function. More...
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. |
Structure representing the stencil test function.
StencilFunc | ( | StencilFuncMode | mode, |
int | reference, | ||
int | readMask, | ||
int | writeMask | ||
) |
Creates the structure representing the stencil test function.
mode | Stencil test function mode |
reference | Reference value (0-255) of the stencil test function |
readMask | Read mask (0-255) of the stencil test function |
writeMask | Write mask (0-255) of 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.
mode | Stencil test function mode |
reference | Reference value (0-255) of the stencil test function |
readMask | Read mask (0-255) of the stencil test function |
writeMask | Write mask (0-255) of the stencil test function |