osgEarth 2.1.1
Public Member Functions | Public Attributes

anonymous_namespace{ImageLayer.cpp}::ApplyChromaKey Struct Reference

List of all members.

Public Member Functions

bool operator() (osg::Vec4f &pixel)

Public Attributes

osg::Vec4f _chromaKey

Detailed Description

Definition at line 138 of file ImageLayer.cpp.


Member Function Documentation

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:


Member Data Documentation

osg::Vec4f anonymous_namespace{ImageLayer.cpp}::ApplyChromaKey::_chromaKey

Definition at line 140 of file ImageLayer.cpp.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines