#include <ATexture.h>
◆ ATexture()
| ATexture::ATexture |
( |
const char * | path | ) |
|
|
inline |
Constructor for ATexture class that loads an image from a file path and creates an OpenGL texture
- Parameters
-
| path | The file path to the image texture |
◆ Bind()
| void ATexture::Bind |
( |
unsigned int | unit = 0 | ) |
|
|
inline |
Binds the texture to a specific texture unit for rendering
- Parameters
-
| unit | The texture unit to bind to (default is 0) |
◆ ID
| unsigned int ATexture::ID |
◆ path
| std::string ATexture::path |
◆ type
| std::string ATexture::type |
The documentation for this class was generated from the following file: