List of all members.
Detailed Description
template<>
struct anonymous_namespace{ImageUtils.cpp}::ColorReader< GL_UNSIGNED_BYTE_3_3_2, GLubyte >
Definition at line 801 of file ImageUtils.cpp.
Member Function Documentation
static osg::Vec4 anonymous_namespace{ImageUtils.cpp}::ColorReader< GL_UNSIGNED_BYTE_3_3_2, GLubyte >::read |
( |
const ImageUtils::PixelReader * |
ia, |
|
|
int |
s, |
|
|
int |
t, |
|
|
int |
r, |
|
|
int |
m |
|
) |
| [inline, static] |
Definition at line 803 of file ImageUtils.cpp.
{
GLubyte p = *(const GLubyte*)ia->data(s,t,r,m);
return osg::Vec4( r3*(float)(p>>5), r3*(float)((p&0x28)>>2), r2*(float)(p&0x3), 1.0f );
}
The documentation for this struct was generated from the following file: