Wraps the OpenGL functions glStencilFunc() and glStencilFuncSeparate(), see also http://www.opengl.org/sdk/docs/man/xhtml/glStencilFunc.xml and http://www.opengl.org/sdk/docs/man/xhtml/glStencilFuncSeparate.xml for more information.
More...
#include <Shader.hpp>
List of all members.
Detailed Description
Wraps the OpenGL functions glStencilFunc() and glStencilFuncSeparate(), see also http://www.opengl.org/sdk/docs/man/xhtml/glStencilFunc.xml and http://www.opengl.org/sdk/docs/man/xhtml/glStencilFuncSeparate.xml for more information.
- See also:
- Shader, Effect, Actor, StencilMask, StencilOp, vl::EN_STENCIL_TEST
Constructor & Destructor Documentation
| vl::StencilFunc::StencilFunc |
( |
EFunction |
function = FU_ALWAYS, |
|
|
int |
refvalue = 0, |
|
|
unsigned int |
mask = ~(unsigned int)0 |
|
) |
| [inline] |
Member Function Documentation
| virtual const char* vl::StencilFunc::className |
( |
) |
[inline, virtual] |
| virtual ERenderState vl::StencilFunc::type |
( |
) |
const [inline, virtual] |
The parameter cameara is NULL if we are disabling the state, non-NULL if we are enabling it.
Implements vl::RenderState.
| void vl::StencilFunc::set |
( |
EPolygonFace |
face, |
|
|
EFunction |
function, |
|
|
int |
refvalue, |
|
|
unsigned int |
mask |
|
) |
| [inline] |
| EFunction vl::StencilFunc::function_Front |
( |
) |
const [inline] |
| int vl::StencilFunc::refValue_Front |
( |
) |
const [inline] |
| unsigned int vl::StencilFunc::mask_Front |
( |
) |
const [inline] |
| EFunction vl::StencilFunc::function_Back |
( |
) |
const [inline] |
| int vl::StencilFunc::refValue_Back |
( |
) |
const [inline] |
| unsigned int vl::StencilFunc::mask_Back |
( |
) |
const [inline] |
Member Data Documentation
The documentation for this class was generated from the following files:
- C:/VL/BuildSystem/VL_DISTRO/Visualization_Library_SDK/src/vl/Shader.hpp
- C:/VL/BuildSystem/VL_DISTRO/Visualization_Library_SDK/src/vl/Shader.cpp