All Classes |Grouped Classes |Index

Function get_pixeldata

Return the content of the read buffer into a pixel buffer.

	CL_PixelBuffer CL_GraphicContext::get_pixeldata(
		const CL_Rect & rect,
		CL_TextureFormat  pixel_format = cl_abgr8 ,
		bool clamp = true);

	CL_PixelBuffer CL_GraphicContext::get_pixeldata(
		CL_TextureFormat  pixel_format = cl_abgr8 ,
		bool clamp = true);