Home | All Classes | Grouped Classes | Index | Search
Constructs a pixel buffer.
CL_PixelBuffer( int width, int height, int pitch, const CL_PixelFormat& format, void* data = 0); CL_PixelBuffer( int width, int height, int pitch, const CL_PixelFormat& format, const CL_Palette& palette, void* data = 0); CL_PixelBuffer( const CL_PixelBuffer& copy); CL_PixelBuffer(); CL_PixelBuffer( CL_PixelBuffer_Generic* impl);
Parameters:
Detailed description:
If the data pointer is not null, it will internally just point at the memory location specified by data. In other words, CL_PixelBuffer do not copy the data, and it does not delete the data pointer when destroyed itself.
See also:
CL_Palette | CL_PixelBuffer | CL_PixelFormat