32 #include "../Display/Image/pixel_buffer.h" 56 pixelbuffer = new_pixelbuffer;
60 data =
static_cast<unsigned int *
>(pixelbuffer.
get_data());
Size get_size() const
Returns the width and height of the buffer.
Frame buffer or texture data for pixel commands.
Definition: pixel_buffer_data.h:40
PixelBuffer pixelbuffer
Attributes.
Definition: pixel_buffer_data.h:48
PixelBufferData()
Construction.
Definition: pixel_buffer_data.h:44
Pixel data container.
Definition: pixel_buffer.h:69
void * get_data()
Returns a pointer to the beginning of the pixel buffer.
Size size
Definition: pixel_buffer_data.h:49
unsigned int * data
Definition: pixel_buffer_data.h:50
bool is_null() const
Returns true if this object is invalid.
Definition: pixel_buffer.h:117
2D (width,height) size structure - Integer
Definition: size.h:157