added a texture class
This commit is contained in:
parent
78c7efd063
commit
ed8237a601
8 changed files with 8076 additions and 9 deletions
15
include/textures/texture.hpp
Normal file
15
include/textures/texture.hpp
Normal file
|
@ -0,0 +1,15 @@
|
|||
#ifndef TEXTURE_H
|
||||
#define TEXTURE_H
|
||||
|
||||
#include <string>
|
||||
|
||||
class Texture
|
||||
{
|
||||
public:
|
||||
unsigned int ID;
|
||||
|
||||
Texture(const char* texturePath);
|
||||
void use();
|
||||
};
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue