mirror of
https://github.com/Linloir/SceneEditor.git
synced 2025-12-17 15:38:11 +08:00
17 lines
259 B
C++
17 lines
259 B
C++
#pragma once
|
|
|
|
enum TextureType { DIFFUSE, SPECULAR };
|
|
|
|
class Texture {
|
|
private:
|
|
unsigned int _id;
|
|
TextureType _type;
|
|
|
|
public:
|
|
unsigned int id() const;
|
|
TextureType type() const;
|
|
|
|
inline void bind() const;
|
|
inline void unbind() const;
|
|
};
|