hibiscus/core/resources/texture.hpp
2023-05-30 17:00:39 +01:00

22 lines
369 B
C++

#pragma once
#include <vector>
#include <lodepng/lodepng.h>
#include "resource.hpp"
#include "../pragmautil.hpp"
namespace hibis {
TODO("Make this function")
class Texture : Resource {
public:
Texture(char* path);
~Texture();
std::vector<unsigned char> mData;
unsigned int mImageWidth, mImageHeight;
private:
std::vector<unsigned char> mBuffer;
};
}