Worldstone
|
A simple image provider that allocates a new buffer for each call to getNewImage() More...
#include <ImageView.h>
Public Member Functions | |
ImageView< Color > | getNewImage (size_t width, size_t height) override |
Allocates a new Image of dimensions width * height. | |
size_t | getImagesNumber () const |
ImageView< Color > | getImage (size_t imageIndex) |
ImageView< const Color > | getImage (size_t imageIndex) const |
Vector< Color > | moveImageBuffer (size_t imageIndex) |
Move an image buffer out of the provider. More... | |
A simple image provider that allocates a new buffer for each call to getNewImage()
Definition at line 140 of file ImageView.h.
|
inline |
Definition at line 168 of file ImageView.h.
|
inline |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Definition at line 174 of file ImageView.h.
|
inline |
Definition at line 165 of file ImageView.h.
|
inline |
Move an image buffer out of the provider.
imageIndex | The index of the image to return, in order of allocation. |
Definition at line 184 of file ImageView.h.