Home | All Classes | Grouped Classes | Index | Search

CL_OpenGL::to_opengl_pixelformat

Get a OpenGL format out of a pixel format.

	bool 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.

See also:

CL_OpenGL | CL_PixelFormat



Questions or comments, write to the ClanLib mailing list.