#include <Texture.hpp>
◆ Texture() [1/5]
◆ Texture() [2/5]
shkyera::Texture::Texture |
( |
const std::filesystem::path & |
path | ) |
|
◆ ~Texture()
shkyera::Texture::~Texture |
( |
| ) |
|
◆ Texture() [3/5]
◆ Texture() [4/5]
shkyera::Texture::Texture |
( |
Texture && |
other | ) |
|
|
noexcept |
◆ Texture() [5/5]
shkyera::Texture::Texture |
( |
std::shared_ptr< Image > |
image | ) |
|
|
private |
◆ activate()
void shkyera::Texture::activate |
( |
GLenum |
textureUnit | ) |
const |
◆ bind()
void shkyera::Texture::bind |
( |
| ) |
const |
◆ generateTexture()
◆ getID()
GLuint shkyera::Texture::getID |
( |
| ) |
const |
|
inline |
◆ getImguiTextureID()
void * shkyera::Texture::getImguiTextureID |
( |
| ) |
const |
|
inline |
◆ getSize()
glm::vec2 shkyera::Texture::getSize |
( |
| ) |
const |
◆ loadImage()
bool shkyera::Texture::loadImage |
( |
std::shared_ptr< Image > |
imageAsset | ) |
|
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ setData()
◆ unbind()
void shkyera::Texture::unbind |
( |
| ) |
const |
◆ _size
glm::vec2 shkyera::Texture::_size {} |
|
private |
◆ _textureID
GLuint shkyera::Texture::_textureID |
|
private |
The documentation for this class was generated from the following files: