mirror of
https://github.com/Relintai/sfw.git
synced 2024-12-20 21:06:49 +01:00
Now Texture is a Resource.
This commit is contained in:
parent
8bd597e390
commit
a01dd3c291
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user