Visualization LibraryA lightweight C++ OpenGL middleware for 2D/3D graphics |
[Home] [Tutorials] [All Classes] [Grouped Classes] |
Wraps the OpenGL function glBlendColor(), see also http://www.opengl.org/sdk/docs/man/xhtml/glBlendColor.xml for more information. More...
#include <Shader.hpp>
Public Member Functions | |
| BlendColor (fvec4 blendcolor=fvec4(0, 0, 0, 0)) | |
| virtual const char * | className () |
| Returns the name of the class. | |
| virtual ERenderState | type () const |
| virtual void | apply (const Camera *, OpenGLContext *ctx) const |
| The parameter cameara is NULL if we are disabling the state, non-NULL if we are enabling it. | |
| void | set (fvec4 blendcolor) |
| fvec4 | blendColor () const |
Protected Attributes | |
| fvec4 | mBlendColor |
Wraps the OpenGL function glBlendColor(), see also http://www.opengl.org/sdk/docs/man/xhtml/glBlendColor.xml for more information.
| virtual const char* vl::BlendColor::className | ( | ) | [inline, virtual] |
Returns the name of the class.
Reimplemented from vl::RenderState.
| virtual ERenderState vl::BlendColor::type | ( | ) | const [inline, virtual] |
Reimplemented from vl::RenderState.
| void BlendColor::apply | ( | const Camera * | camera, |
| OpenGLContext * | ctx | ||
| ) | const [virtual] |
The parameter cameara is NULL if we are disabling the state, non-NULL if we are enabling it.
Implements vl::RenderState.
| void vl::BlendColor::set | ( | fvec4 | blendcolor ) | [inline] |
| fvec4 vl::BlendColor::blendColor | ( | ) | const [inline] |
fvec4 vl::BlendColor::mBlendColor [protected] |