Convenience method for making it easy to cast all pixel channels types to a unit float RGBA form.
More...
|
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) |
|
Convenience method for making it easy to cast all pixel channels types to a unit float RGBA form.
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: