![]() |
Path Tracing
|
RAII wrapper around an OpenGL texture object of any target Be it GL_TEXTURE_2D, GL_TEXTURE_2D_ARRAY... More...
#include <texture.hpp>
Public Member Functions | |
| GLTexture ()=default | |
| ~GLTexture () | |
| GLTexture (const GLTexture &)=delete | |
| GLTexture & | operator= (const GLTexture &)=delete |
| GLTexture (GLTexture &&other) noexcept | |
| GLTexture & | operator= (GLTexture &&other) noexcept |
| void | create (GLenum target) |
| void | reset () |
| GLuint | id () const |
| GLenum | target () const |
| operator bool () const | |
RAII wrapper around an OpenGL texture object of any target Be it GL_TEXTURE_2D, GL_TEXTURE_2D_ARRAY...
|
default |
|
inline |
|
delete |
|
inlinenoexcept |
|
inline |
|
inlineexplicit |
|
inline |
|
inline |