Class for base texture.
More...
#include <base_texture.h>
Graphics::BaseTexture::BaseTexture |
( |
| ) |
|
|
delete |
Graphics::BaseTexture::BaseTexture |
( |
const GLenum |
texture_type | ) |
|
BaseTexture constructor.
- Parameters
-
[in] | texture_type | The open gl texture type |
Graphics::BaseTexture::~BaseTexture |
( |
| ) |
|
void Graphics::BaseTexture::bind |
( |
const unsigned int |
texture_unit | ) |
|
|
virtual |
unsigned int Graphics::BaseTexture::getHeight |
( |
| ) |
const |
|
noexcept |
std::string Graphics::BaseTexture::getName |
( |
| ) |
const |
|
noexcept |
unsigned int Graphics::BaseTexture::getTextureObject |
( |
| ) |
const |
|
virtualnoexcept |
Gets the texture object.
- Returns
- The texture object.
unsigned int Graphics::BaseTexture::getWidth |
( |
| ) |
const |
|
noexcept |
bool Graphics::BaseTexture::isLoaded |
( |
| ) |
const |
|
virtualnoexcept |
bool Graphics::BaseTexture::load |
( |
const std::string & |
filename | ) |
|
|
virtual |
void Graphics::BaseTexture::setName |
( |
const std::string |
name | ) |
|
|
noexcept |
std::string Graphics::BaseTexture::to_string |
( |
| ) |
const |
|
noexcept |
The documentation for this class was generated from the following files: