CL_Texture::get_pixeldata - ClanLib Game SDK

Home | All Classes | Grouped Classes | Index | Search

# CL_Texture::get_pixeldata

Retrieve image data from texture.

    	CL_PixelBuffer get_pixeldata(
    		int level = 0);

    	CL_PixelBuffer get_pixeldata(
    		CL_PixelFormat& format, int level = 0);

    	CL_PixelBuffer get_pixeldata(
    		const CL_Rect& rect, int level = 0);

    	CL_PixelBuffer get_pixeldata(
    		CL_PixelFormat& format, const CL_Rect& rect, int level = 0);

See also:

CL_Rect | CL_Texture | CL_PixelFormat | CL_PixelBuffer

Questions or comments, write to the ClanLib mailing list.