
Get a OpenGL format out of a pixel format.
static bool CL_OpenGL::to_opengl_pixelformat( const CL_PixelFormat & pf, CLenum & format, CLenum & type);
Detailed description:
The function returns false if pixelformat color depth is not convertible to OpenGL pixel format, otherwise the format and type are returned with values in format and type.