22 lines
369 B
C++
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;
|
|
};
|
|
}
|