feat: reorganize source code + cleanup
This commit is contained in:
17
include/renderer/texture.h
Normal file
17
include/renderer/texture.h
Normal file
@ -0,0 +1,17 @@
|
||||
#ifndef TEXTURE_H_
|
||||
#define TEXTURE_H_
|
||||
#include <string>
|
||||
#include <memory>
|
||||
|
||||
class Texture {
|
||||
private:
|
||||
unsigned int m_id;
|
||||
private:
|
||||
public:
|
||||
Texture() {}
|
||||
static std::unique_ptr<Texture> LoadFile(const std::string& filename);
|
||||
public:
|
||||
inline const unsigned int GetID() const { return m_id; }
|
||||
};
|
||||
|
||||
#endif // TEXTURE_H_
|
Reference in New Issue
Block a user