My Project
Public Member Functions | List of all members
MyTexture Class Reference

MyTexture class. More...

#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...
 

Detailed Description

MyTexture class.

Constructor & Destructor Documentation

◆ MyTexture()

MyTexture::MyTexture ( std::string const &  texturePath)

Construct a new My Texture object.

Parameters
texturePathpath to the texture

◆ ~MyTexture()

MyTexture::~MyTexture ( )

Destroy the My Texture object.

Member Function Documentation

◆ getHeight()

int MyTexture::getHeight ( ) const

Get the Height object.

Returns
int height

◆ getTexture()

Texture2D MyTexture::getTexture ( ) const

Get the Texture object.

Returns
Texture2D texture

◆ getWidth()

int MyTexture::getWidth ( ) const

Get the Width object.

Returns
int witdh

The documentation for this class was generated from the following files: