19 #ifndef MIR_SCENE_PIXEL_BUFFER_H_
20 #define MIR_SCENE_PIXEL_BUFFER_H_
Interface for extracting the pixels from a graphics::Buffer.
Definition: pixel_buffer.h:36
virtual void const * as_argb_8888()=0
The pixels in 0xAARRGGBB format.
virtual geometry::Stride stride() const =0
The stride of the pixel buffer.
virtual void fill_from(graphics::Buffer &buffer)=0
Fills the PixelBuffer with the contents of a graphics::Buffer.
PixelBuffer & operator=(PixelBuffer const &)=delete
virtual ~PixelBuffer()=default
virtual geometry::Size size() const =0
The size of the pixel buffer.
Definition: dimensions.h:38