2023-05-27 17:11:46 +00:00
|
|
|
#pragma once
|
|
|
|
|
2023-05-30 16:00:39 +00:00
|
|
|
#include <vector>
|
|
|
|
|
2023-05-27 17:11:46 +00:00
|
|
|
#include "resource.hpp"
|
2023-05-30 14:20:34 +00:00
|
|
|
#include "../pragmautil.hpp"
|
2023-05-27 17:11:46 +00:00
|
|
|
|
|
|
|
namespace hibis {
|
|
|
|
TODO("Make this function")
|
|
|
|
class Texture : Resource {
|
2023-05-30 16:00:39 +00:00
|
|
|
public:
|
2023-06-01 19:19:18 +00:00
|
|
|
Texture(const char* path);
|
2023-05-30 16:00:39 +00:00
|
|
|
~Texture();
|
2023-06-01 19:19:18 +00:00
|
|
|
unsigned char* mData;
|
|
|
|
int mImageWidth, mImageHeight, mImageChannels;
|
2023-05-27 17:11:46 +00:00
|
|
|
};
|
|
|
|
}
|