List of all members.
Detailed Description
Encapsulates OpenGL blend/transparency state.
Constructor & Destructor Documentation
osg::BlendColor::BlendColor |
( |
) |
|
osg::BlendColor::BlendColor |
( |
const osg::Vec4 & |
constantColor ) |
|
osg::BlendColor::BlendColor |
( |
const BlendColor & |
trans, |
|
|
const CopyOp & |
copyop = CopyOp::SHALLOW_COPY |
|
) |
| [inline] |
Copy constructor using CopyOp to manage deep vs shallow copy.
virtual osg::BlendColor::~BlendColor |
( |
) |
[protected, virtual] |
Member Function Documentation
virtual void osg::BlendColor::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::BlendColor::compare |
( |
const StateAttribute & |
sa ) |
const [inline, virtual] |
osg::Vec4& osg::BlendColor::getConstantColor |
( |
) |
[inline] |
const osg::Vec4& osg::BlendColor::getConstantColor |
( |
) |
const [inline] |
static Extensions* osg::BlendColor::getExtensions |
( |
unsigned int |
contextID, |
|
|
bool |
createIfNotInitalized |
|
) |
| [static] |
Returns the Extensions object for the given context. If createIfNotInitalized is true and the Extensions object doesn't exist, getExtensions() creates it on the given context. Returns NULL if createIfNotInitalized is false and the Extensions object doesn't exist.
osg::BlendColor::META_StateAttribute |
( |
osg |
, |
|
|
BlendColor |
, |
|
|
BLENDCOLOR |
|
|
) |
| |
void osg::BlendColor::setConstantColor |
( |
const osg::Vec4 & |
color ) |
[inline] |
static void osg::BlendColor::setExtensions |
( |
unsigned int |
contextID, |
|
|
Extensions * |
extensions |
|
) |
| [static] |
setExtensions() allows users to override the extensions across graphics contexts. Typically used when you have different extensions supported across graphics pipes, but need to ensure that they all use the same low common denominator extensions.
Member Data Documentation
The documentation for this class was generated from the following file: