#include <MRRenderGLHelpers.h>
Public Member Functions | |
GlTexture2 () | |
Public Member Functions inherited from MR::GlTexture | |
MRVIEWER_API | GlTexture (GLenum val) |
GlTexture (const GlTexture &)=delete | |
MRVIEWER_API | GlTexture (GlTexture &&r) |
virtual MRVIEWER_API | ~GlTexture () |
GlTexture & | operator= (const GlTexture &)=delete |
GlTexture & | operator= (GlTexture &&r) |
auto | getId () const |
bool | valid () const |
size_t | size () const |
MRVIEWER_API void | gen () |
MRVIEWER_API void | del () |
MRVIEWER_API void | bind () |
MRVIEWER_API void | loadData (const Settings &settings, const char *arr) |
template<typename C > | |
void | loadData (const Settings &settings, const C &cont) |
MRVIEWER_API void | loadDataOpt (bool refresh, const Settings &settings, const char *arr) |
template<typename C > | |
void | loadDataOpt (bool refresh, const Settings &settings, const C &cont) |
Static Public Member Functions | |
static Vector3i | ToResolution (const Vector2i &value) |
Additional Inherited Members | |
Static Public Attributes inherited from MR::GlTexture | |
static constexpr GLuint | NO_TEX = 0 |
Protected Attributes inherited from MR::GlTexture | |
GLuint | textureID_ = NO_TEX |
size_t | size_ = 0 |
GLenum | type_ = NO_TEX |
|
inline |
|
inlinestatic |