My Project
|
#include <MyTexture.hpp>
Public Member Functions | |
MyTexture (std::string const &texturePath) | |
Construct a new My Texture object. More... | |
~MyTexture () | |
Destroy the My Texture object. More... | |
Texture2D | getTexture () const |
Get the Texture object. More... | |
int | getWidth () const |
Get the Width object. More... | |
int | getHeight () const |
Get the Height object. More... | |
MyTexture class.
MyTexture::MyTexture | ( | std::string const & | texturePath | ) |
Construct a new My Texture object.
texturePath | path to the texture |
MyTexture::~MyTexture | ( | ) |
Destroy the My Texture object.
int MyTexture::getHeight | ( | ) | const |
Get the Height object.
Texture2D MyTexture::getTexture | ( | ) | const |
Get the Texture object.
int MyTexture::getWidth | ( | ) | const |
Get the Width object.