#include <glTexture.h>
|
std::vector< std::byte > | load_image (std::filesystem::path imageFilePath) |
|
std::vector< std::byte > | load_image (std::vector< std::byte > imageFile) |
|
◆ glTexture()
jGL::GL::glTexture::glTexture |
( |
| ) |
|
|
inline |
◆ ~glTexture()
jGL::GL::glTexture::~glTexture |
( |
| ) |
|
|
inline |
◆ bind() [1/2]
void jGL::GL::glTexture::bind |
( |
| ) |
|
|
inline |
◆ bind() [2/2]
void jGL::GL::glTexture::bind |
( |
unsigned |
binding | ) |
|
|
inlinevirtual |
◆ generateMipMaps()
void jGL::GL::glTexture::generateMipMaps |
( |
| ) |
|
|
inline |
◆ load_image() [1/2]
std::vector< std::byte > jGL::GL::glTexture::load_image |
( |
std::filesystem::path |
imageFilePath | ) |
|
|
inlineprotected |
◆ load_image() [2/2]
std::vector< std::byte > jGL::GL::glTexture::load_image |
( |
std::vector< std::byte > |
imageFile | ) |
|
|
inlineprotected |
◆ unbind()
void jGL::GL::glTexture::unbind |
( |
| ) |
|
|
inline |
◆ upload()
virtual void jGL::GL::glTexture::upload |
( |
std::vector< std::byte > * |
data | ) |
|
|
inlinevirtual |
◆ id
GLuint jGL::GL::glTexture::id |
|
protected |
◆ textureUnit
unsigned jGL::GL::glTexture::textureUnit |
|
protected |
The documentation for this class was generated from the following file: