Visualization LibraryA lightweight C++ OpenGL middleware for 2D/3D graphics |
[Home] [Tutorials] [All Classes] [Grouped Classes] |
#include <RenderState.hpp>

Public Member Functions | |
| virtual const char * | className () |
| Returns the name of the class. | |
| RenderState () | |
| virtual | ~RenderState () |
| virtual ERenderState | type () const |
| virtual void | apply (const Camera *) const =0 |
| virtual void | disable () const |
| virtual void | enable () const |
| virtual void | initResources () |
| int | textureUnit () const |
| void | setUnitIndex (int unit_index) |
Protected Attributes | |
| int | mTextureUnit |
| vl::RenderState::RenderState | ( | ) | [inline] |
| virtual vl::RenderState::~RenderState | ( | ) | [inline, virtual] |
| virtual const char* vl::RenderState::className | ( | ) | [inline, virtual] |
Returns the name of the class.
Reimplemented from vl::Object.
Reimplemented in vl::ClipPlane, vl::GLSLProgram, vl::Light, vl::PixelTransfer, vl::Hint, vl::CullFace, vl::FrontFace, vl::DepthFunc, vl::DepthMask, vl::PolygonMode, vl::ShadeModel, vl::BlendFunc, vl::BlendEquation, vl::SampleCoverage, vl::AlphaFunc, vl::Material, vl::LightModel, vl::Fog, vl::PolygonOffset, vl::LogicOp, vl::DepthRange, vl::LineWidth, vl::PointSize, vl::PolygonStipple, vl::LineStipple, vl::PointParameter, vl::StencilFunc, vl::StencilOp, vl::StencilMask, vl::BlendColor, vl::ColorMask, vl::TextureMatrix, vl::TexEnv, vl::TexGen, and vl::TextureUnit.
| virtual ERenderState vl::RenderState::type | ( | ) | const [inline, virtual] |
Reimplemented in vl::ClipPlane, vl::GLSLProgram, vl::Light, vl::PixelTransfer, vl::Hint, vl::CullFace, vl::FrontFace, vl::DepthFunc, vl::DepthMask, vl::PolygonMode, vl::ShadeModel, vl::BlendFunc, vl::BlendEquation, vl::SampleCoverage, vl::AlphaFunc, vl::Material, vl::LightModel, vl::Fog, vl::PolygonOffset, vl::LogicOp, vl::DepthRange, vl::LineWidth, vl::PointSize, vl::PolygonStipple, vl::LineStipple, vl::PointParameter, vl::StencilFunc, vl::StencilOp, vl::StencilMask, vl::BlendColor, vl::ColorMask, vl::TextureMatrix, vl::TexEnv, vl::TexGen, and vl::TextureUnit.
| virtual void vl::RenderState::apply | ( | const Camera * | ) | const [pure virtual] |
Implemented in vl::ClipPlane, vl::GLSLProgram, vl::Light, vl::PixelTransfer, vl::Hint, vl::CullFace, vl::FrontFace, vl::DepthFunc, vl::DepthMask, vl::PolygonMode, vl::ShadeModel, vl::BlendFunc, vl::BlendEquation, vl::SampleCoverage, vl::AlphaFunc, vl::Material, vl::LightModel, vl::Fog, vl::PolygonOffset, vl::LogicOp, vl::DepthRange, vl::LineWidth, vl::PointSize, vl::PolygonStipple, vl::LineStipple, vl::PointParameter, vl::StencilFunc, vl::StencilOp, vl::StencilMask, vl::BlendColor, vl::ColorMask, vl::TextureMatrix, vl::TexEnv, vl::TexGen, and vl::TextureUnit.
| virtual void vl::RenderState::disable | ( | ) | const [inline, virtual] |
Reimplemented in vl::ClipPlane, vl::Light, and vl::TextureUnit.
| virtual void vl::RenderState::enable | ( | ) | const [inline, virtual] |
Reimplemented in vl::ClipPlane, vl::Light, and vl::TextureUnit.
| virtual void vl::RenderState::initResources | ( | ) | [inline, virtual] |
Reimplemented in vl::GLSLProgram, and vl::TextureUnit.
| int vl::RenderState::textureUnit | ( | ) | const [inline] |
| void vl::RenderState::setUnitIndex | ( | int | unit_index | ) | [inline] |
int vl::RenderState::mTextureUnit [protected] |