Now Texture is a Resource.

This commit is contained in:
Relintai 2024-01-04 12:12:44 +01:00
parent 8bd597e390
commit a01dd3c291

View File

@ -1,10 +1,13 @@
#ifndef TEXTURE_H
#define TEXTURE_H
#include "object/resource.h"
#include "render_core/3rd_glad.h"
#include "render_core/image.h"
class Texture {
class Texture : public Resource {
SFW_OBJECT(Texture, Resource);
public:
enum TextureFlags {
TEXTURE_FLAG_FILTER = 1 << 0,