12 lines
179 B
C++
12 lines
179 B
C++
|
|
#pragma once
|
|
|
|
class Texture
|
|
{
|
|
public:
|
|
unsigned int ID;
|
|
int width, height, nrChannels;
|
|
|
|
Texture(const char* texturePath, bool flip = false);
|
|
void Draw() const;
|
|
};
|