i dont even know

This commit is contained in:
Lauchmelder 2022-01-09 08:54:37 +01:00
parent 3592ba18a0
commit 7b268efa6a
3 changed files with 25 additions and 40 deletions

View file

@ -4,6 +4,7 @@
#include <glm/glm.hpp>
#include <lol/util/Enums.hpp>
#include <lol/util/NonCopyable.hpp>
namespace lol
{
@ -13,7 +14,7 @@ namespace lol
* This class is used to store image pixel- and metadata as well as load
* image files from disk. It has no OpenGL equivalent
*/
class Image
class Image : public NonCopyable
{
public:
/**
@ -42,24 +43,10 @@ namespace lol
*/
Image(const std::string& filepath);
Image(unsigned char* buffer, size_t len);
~Image();
/**
* @brief Copy data of another Image
*
* @param other The Image to copy from
*/
Image(const Image& other);
/**
* @brief Assign this Image data of another Image
*
* @param other The Image to assign from
* @return The modified Image
*/
Image& operator=(const Image& other);
/**
* @brief Get the dimensions of the image
*