mirror of
https://github.com/Relintai/sfw.git
synced 2025-01-09 21:19:36 +01:00
Now Texture is a Resource.
This commit is contained in:
parent
8bd597e390
commit
a01dd3c291
@ -1,10 +1,13 @@
|
|||||||
#ifndef TEXTURE_H
|
#ifndef TEXTURE_H
|
||||||
#define TEXTURE_H
|
#define TEXTURE_H
|
||||||
|
|
||||||
|
#include "object/resource.h"
|
||||||
#include "render_core/3rd_glad.h"
|
#include "render_core/3rd_glad.h"
|
||||||
#include "render_core/image.h"
|
#include "render_core/image.h"
|
||||||
|
|
||||||
class Texture {
|
class Texture : public Resource {
|
||||||
|
SFW_OBJECT(Texture, Resource);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
enum TextureFlags {
|
enum TextureFlags {
|
||||||
TEXTURE_FLAG_FILTER = 1 << 0,
|
TEXTURE_FLAG_FILTER = 1 << 0,
|
||||||
|
Loading…
Reference in New Issue
Block a user