List of all members.
Member Enumeration Documentation
- Enumerator:
SEPARATE_SPECULAR_COLOR |
|
SINGLE_COLOR |
|
Constructor & Destructor Documentation
osg::LightModel::LightModel |
( |
| ) |
|
osg::LightModel::LightModel |
( |
const LightModel & |
lw, |
|
|
const CopyOp & |
copyop = CopyOp::SHALLOW_COPY |
|
) |
| [inline] |
Copy constructor using CopyOp to manage deep vs shallow copy.
virtual osg::LightModel::~LightModel |
( |
| ) |
[protected, virtual] |
Member Function Documentation
virtual void osg::LightModel::apply |
( |
State & |
| ) |
const [virtual] |
apply the OpenGL state attributes.
The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.
Reimplemented from osg::StateAttribute.
virtual int osg::LightModel::compare |
( |
const StateAttribute & |
sa | ) |
const [inline, virtual] |
const osg::Vec4& osg::LightModel::getAmbientIntensity |
( |
| ) |
const [inline] |
ColorControl osg::LightModel::getColorControl |
( |
| ) |
const [inline] |
bool osg::LightModel::getLocalViewer |
( |
| ) |
const [inline] |
bool osg::LightModel::getTwoSided |
( |
| ) |
const [inline] |
osg::LightModel::META_StateAttribute |
( |
osg |
, |
|
|
LightModel |
, |
|
|
LIGHTMODEL |
|
|
) |
| |
void osg::LightModel::setAmbientIntensity |
( |
const osg::Vec4 & |
ambient | ) |
[inline] |
void osg::LightModel::setColorControl |
( |
ColorControl |
cc | ) |
[inline] |
void osg::LightModel::setLocalViewer |
( |
bool |
localViewer | ) |
[inline] |
void osg::LightModel::setTwoSided |
( |
bool |
twoSided | ) |
[inline] |
Member Data Documentation
The documentation for this class was generated from the following file: