CL_Surface::set_pixeldata - ClanLib Game SDK

Home | All Classes | Grouped Classes | Index | Search

# CL_Surface::set_pixeldata

Uploads pixel data to surface.

    	void set_pixeldata(
    		CL_PixelBuffer& pixeldata);

    	void set_pixeldata(
    		int x, int y, CL_PixelBuffer& pixeldata);

    	void set_pixeldata(
    		const CL_Point& pos, CL_PixelBuffer& pixeldata);

    	void set_pixeldata(
    		const CL_Point& pos, const CL_Rect& src_rect, CL_PixelBuffer& pixeldata);

See also:

CL_Rect | CL_Surface | CL_PixelBuffer | CL_Point

Questions or comments, write to the ClanLib mailing list.