Visualization Library

A lightweight C++ OpenGL middleware for 2D/3D graphics
[Home] [Tutorials] [All Classes] [Grouped Classes]
Public Member Functions

vl::RenderState Class Reference

Base class for most of the OpenGL render state wrapper classes. More...

#include <RenderState.hpp>

Inheritance diagram for vl::RenderState:
vl::Object vl::AlphaFunc vl::BlendColor vl::BlendEquation vl::BlendFunc vl::ClipPlane vl::ColorMask vl::CullFace vl::DepthFunc vl::DepthMask vl::DepthRange vl::Fog vl::FrontFace vl::GLSLProgram vl::Hint vl::Light vl::LightModel vl::LineStipple vl::LineWidth vl::LogicOp vl::Material vl::PixelTransfer vl::PointParameter vl::PointSize vl::PolygonMode vl::PolygonOffset vl::PolygonStipple vl::SampleCoverage vl::ShadeModel vl::StencilFunc vl::StencilMask vl::StencilOp vl::TextureState

List of all members.

Public Member Functions

virtual const char * className ()
 Returns the name of the class.
 RenderState ()
virtual ERenderState type () const
virtual void apply (const Camera *camera, OpenGLContext *ctx) const =0
 The parameter cameara is NULL if we are disabling the state, non-NULL if we are enabling it.

Detailed Description

Base class for most of the OpenGL render state wrapper classes.

See also:
Shader, Effect, Actor

Definition at line 50 of file RenderState.hpp.


Constructor & Destructor Documentation

vl::RenderState::RenderState (  ) [inline]

Definition at line 54 of file RenderState.hpp.

References VL_DEBUG_SET_OBJECT_NAME.


Member Function Documentation

virtual const char* vl::RenderState::className (  ) [inline, virtual]
virtual ERenderState vl::RenderState::type (  ) const [inline, virtual]
virtual void vl::RenderState::apply ( const Camera camera,
OpenGLContext ctx 
) const [pure virtual]

The documentation for this class was generated from the following file:

Visualization Library v2011.05.1142 Reference Documentation
Copyright 2005-2011 Michele Bosi. All rights reserved.
Updated on Thu May 26 2011 22:51:44.
Permission is granted to use this page to write and publish articles regarding Visualization Library.