Wraps the OpenGL function glMaterial() and glColorMaterial(), see also http://www.opengl.org/sdk/docs/man/xhtml/glMaterial.xml and http://www.opengl.org/sdk/docs/man/xhtml/glColorMaterial.xml for more information.
More...
#include <Shader.hpp>
List of all members.
Detailed Description
Wraps the OpenGL function glMaterial() and glColorMaterial(), see also http://www.opengl.org/sdk/docs/man/xhtml/glMaterial.xml and http://www.opengl.org/sdk/docs/man/xhtml/glColorMaterial.xml for more information.
- See also:
- Shader, Effect, Actor, vl::EN_LIGHTING
Constructor & Destructor Documentation
Member Function Documentation
| virtual const char* vl::Material::className |
( |
) |
[inline, virtual] |
| virtual ERenderState vl::Material::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 Material::setTransparency |
( |
float |
alpha ) |
|
| void Material::setFrontTransparency |
( |
float |
alpha ) |
|
| void Material::setBackTransparency |
( |
float |
alpha ) |
|
| void Material::setFrontFlatColor |
( |
const fvec4 & |
color ) |
|
| void Material::setBackFlatColor |
( |
const fvec4 & |
color ) |
|
| void Material::setFlatColor |
( |
const fvec4 & |
color ) |
|
| void vl::Material::setAmbient |
( |
fvec4 |
color ) |
[inline] |
| void vl::Material::setDiffuse |
( |
fvec4 |
color ) |
[inline] |
| void vl::Material::setSpecular |
( |
fvec4 |
color ) |
[inline] |
| void vl::Material::setEmission |
( |
fvec4 |
color ) |
[inline] |
| void vl::Material::setShininess |
( |
float |
shininess ) |
[inline] |
| void vl::Material::setFrontAmbient |
( |
fvec4 |
color ) |
[inline] |
| void vl::Material::setFrontDiffuse |
( |
fvec4 |
color ) |
[inline] |
| void vl::Material::setFrontSpecular |
( |
fvec4 |
color ) |
[inline] |
| void vl::Material::setFrontEmission |
( |
fvec4 |
color ) |
[inline] |
| void vl::Material::setFrontShininess |
( |
float |
shininess ) |
[inline] |
| fvec4 vl::Material::frontAmbient |
( |
) |
const [inline] |
| fvec4 vl::Material::frontDiffuse |
( |
) |
const [inline] |
| fvec4 vl::Material::frontSpecular |
( |
) |
const [inline] |
| fvec4 vl::Material::frontEmission |
( |
) |
const [inline] |
| float vl::Material::frontShininess |
( |
) |
const [inline] |
| void vl::Material::setBackAmbient |
( |
fvec4 |
color ) |
[inline] |
| void vl::Material::setBackDiffuse |
( |
fvec4 |
color ) |
[inline] |
| void vl::Material::setBackSpecular |
( |
fvec4 |
color ) |
[inline] |
| void vl::Material::setBackEmission |
( |
fvec4 |
color ) |
[inline] |
| void vl::Material::setBackShininess |
( |
float |
shininess ) |
[inline] |
| fvec4 vl::Material::backAmbient |
( |
) |
const [inline] |
| fvec4 vl::Material::backDiffuse |
( |
) |
const [inline] |
| fvec4 vl::Material::backSpecular |
( |
) |
const [inline] |
| fvec4 vl::Material::backEmission |
( |
) |
const [inline] |
| float vl::Material::backShininess |
( |
) |
const [inline] |
| EPolygonFace vl::Material::colorMaterialFace |
( |
) |
const [inline] |
| void vl::Material::setColorMaterialEnabled |
( |
bool |
enabled ) |
[inline] |
| bool vl::Material::colorMaterialEnabled |
( |
) |
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