Get a OpenGL format out of a pixel format.
static bool CL_GL1::to_opengl_pixelformat( const CL_PixelBuffer & pbuffer, GLenum & format, GLenum & type); static bool CL_GL1::to_opengl_pixelformat( CL_TextureFormat texture_format, GLenum & format, GLenum & 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.