Home |All Classes |Grouped Classes |Index |Search

Function from_opengl_pixelformat

Get a pixel format out of an OpenGL format.

	static bool CL_OpenGL::from_opengl_pixelformat(
		CLenum  format,
		CLenum  type,
		CL_PixelFormat & pf);

Detailed description:

The function returns false if it can't convert format, otherwise the the formatare returned with values in pf.