OpenSceneGraph  3.5.1
Public Member Functions | List of all members
osg::CastAndScaleToFloatOperation Struct Reference

Convenience method for making it easy to cast all pixel channels types to a unit float RGBA form. More...

Public Member Functions

float cast (char v)
 
float cast (unsigned char v)
 
float cast (short v)
 
float cast (unsigned short v)
 
float cast (int v)
 
float cast (unsigned int v)
 
float cast (float v)
 
float cast (double v)
 

Detailed Description

Convenience method for making it easy to cast all pixel channels types to a unit float RGBA form.

Member Function Documentation

float osg::CastAndScaleToFloatOperation::cast ( char  v)
inline
float osg::CastAndScaleToFloatOperation::cast ( unsigned char  v)
inline
float osg::CastAndScaleToFloatOperation::cast ( short  v)
inline
float osg::CastAndScaleToFloatOperation::cast ( unsigned short  v)
inline
float osg::CastAndScaleToFloatOperation::cast ( int  v)
inline
float osg::CastAndScaleToFloatOperation::cast ( unsigned int  v)
inline
float osg::CastAndScaleToFloatOperation::cast ( float  v)
inline
float osg::CastAndScaleToFloatOperation::cast ( double  v)
inline

The documentation for this struct was generated from the following file:

osg logo
Generated at Wed Nov 11 2015 22:14:30 for the OpenSceneGraph by doxygen 1.8.10.