hibiscus/core/resources/texture.hpp

18 lines
292 B
C++
Raw Normal View History

#pragma once
2023-05-30 16:00:39 +00:00
#include <vector>
#include "resource.hpp"
2023-05-30 14:20:34 +00:00
#include "../pragmautil.hpp"
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;
};
}