From 26ba22388021f60374208a92ea6692540ff12ada Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Mon, 25 Nov 2002 16:38:33 +0000 Subject: [PATCH] Added isImageTransulacent() method. --- include/osg/Image | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/osg/Image b/include/osg/Image index 26fd6c4df..4bed87e05 100644 --- a/include/osg/Image +++ b/include/osg/Image @@ -200,6 +200,9 @@ class SG_EXPORT Image : public Object /** converts a single image into mip mapped version image.*/ void computeMipMaps(); + + /** return true of this image is translucent - i.e. it has alpha values that are less 1.0 (when normalized).*/ + bool isImageTranslucent() const; protected :