Show
Ignore:
Timestamp:
03/10/09 17:52:18 (6 years ago)
Author:
robert
Message:

Made bool isImageTranslucent() const virtual to allow subclasses to provide their own implementation

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/include/osg/Image

    r9643 r9888  
    308308 
    309309        /** Return true if this image is translucent - i.e. it has alpha values that are less 1.0 (when normalized). */ 
    310         bool isImageTranslucent() const; 
     310        virtual bool isImageTranslucent() const; 
    311311 
    312312        /** Set the optional PixelBufferObject used to map the image memory efficiently to graphics memory. */