#include <GLTexture.hpp>
|
using | handleType = std::unique_ptr< uint8_t[], void(*)(void *)> |
|
◆ handleType
◆ GLTexture() [1/5]
st::GLTexture::GLTexture |
( |
| ) |
|
|
default |
◆ GLTexture() [2/5]
st::GLTexture::GLTexture |
( |
const std::string & |
textureName | ) |
|
|
inline |
◆ GLTexture() [3/5]
st::GLTexture::GLTexture |
( |
const std::string & |
textureName, |
|
|
GLint |
textureId |
|
) |
| |
|
inline |
◆ GLTexture() [4/5]
st::GLTexture::GLTexture |
( |
const GLTexture & |
other | ) |
|
|
delete |
◆ GLTexture() [5/5]
st::GLTexture::GLTexture |
( |
GLTexture && |
other | ) |
|
|
inlinenoexcept |
◆ ~GLTexture()
st::GLTexture::~GLTexture |
( |
| ) |
|
|
inlinenoexcept |
◆ load()
GLuint st::GLTexture::load |
( |
const std::string & |
fileName | ) |
|
Load a file in memory and create an OpenGL texture.
Returns a handle type (an std::unique_ptr) to the loaded pixels.
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ texture()
GLuint st::GLTexture::texture |
( |
| ) |
const |
|
inline |
◆ textureName()
const std::string& st::GLTexture::textureName |
( |
| ) |
const |
|
inline |
◆ mTextureId
GLuint st::GLTexture::mTextureId |
|
private |
◆ mTextureName
std::string st::GLTexture::mTextureName |
|
private |
The documentation for this class was generated from the following files: