restructure v2
This commit is contained in:
parent
e01595e155
commit
dc5654ba9a
20 changed files with 910 additions and 791 deletions
12
engine/Backend/Texture.h
Normal file
12
engine/Backend/Texture.h
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
class Texture
|
||||
{
|
||||
public:
|
||||
unsigned int ID;
|
||||
int width, height, nrChannels;
|
||||
|
||||
Texture(const char* texturePath, bool flip = false);
|
||||
void Draw() const;
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue