useful variant for temporary images
| 48 | |
| 49 | // useful variant for temporary images |
| 50 | virtual image_handle load_image(image &&p_image) |
| 51 | { |
| 52 | image tmp_img(std::move(p_image)); |
| 53 | return load_image(tmp_img); // uses the second overload below |
| 54 | } |
| 55 | |
| 56 | virtual image_handle load_image(image const &p_image) = 0; |
| 57 | virtual void unload_image(image_handle const p_image_handle) = 0; |