|
osgEarth 2.1.1
|
Public Member Functions | |
| bool | operator() (osg::Vec4f &pixel) |
Public Attributes | |
| osg::Vec4f | _chromaKey |
Definition at line 138 of file ImageLayer.cpp.
| bool anonymous_namespace{ImageLayer.cpp}::ApplyChromaKey::operator() | ( | osg::Vec4f & | pixel | ) | [inline] |
Definition at line 141 of file ImageLayer.cpp.
{
bool equiv = ImageUtils::areRGBEquivalent( pixel, _chromaKey );
if ( equiv ) pixel.a() = 0.0f;
return equiv;
}
Here is the call graph for this function:| osg::Vec4f anonymous_namespace{ImageLayer.cpp}::ApplyChromaKey::_chromaKey |
Definition at line 140 of file ImageLayer.cpp.
1.7.3