CL_OpenGL::from_opengl_pixelformat - ClanLib Game SDK

Home | All Classes | Grouped Classes | Index | Search

# CL_OpenGL::from_opengl_pixelformat

Get a pixel format out of an OpenGL format.

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

See also:

CL_OpenGL | CL_PixelFormat

Questions or comments, write to the ClanLib mailing list.