|
| Texture2D (size2_t dimensions, GLFormat glFormat, GLenum filtering, const SwizzleMask &swizzleMask=swizzlemasks::rgba, const std::array< GLenum, 2 > &wrapping={GL_CLAMP_TO_EDGE, GL_CLAMP_TO_EDGE}, GLint level=0) |
| Texture2D (size2_t dimensions, GLint format, GLint internalFormat, GLenum dataType, GLenum filtering, const SwizzleMask &swizzleMask=swizzlemasks::rgba, const std::array< GLenum, 2 > &wrapping={GL_CLAMP_TO_EDGE, GL_CLAMP_TO_EDGE}, GLint level=0) |
| Texture2D (const Texture2D &other) |
| Texture2D (Texture2D &&other) |
Texture2D & | operator= (const Texture2D &other) |
Texture2D & | operator= (Texture2D &&other) |
Texture2D * | clone () const |
void | initialize (const void *data) |
void | upload (const void *data) |
size_t | getNumberOfValues () const |
const size2_t & | getDimensions () const |
size_t | getWidth () const |
size_t | getHeight () const |
void | setWrapping (const std::array< GLenum, 2 > &wrapping) |
std::array< GLenum, 2 > | getWrapping () const |
void | resize (size2_t dimensions) |
| Texture (GLenum target, GLFormat glFormat, GLenum filtering, const SwizzleMask &swizzleMask, std::span< const GLenum > wrapping, GLint level) |
| Texture (GLenum target, GLint format, GLint internalformat, GLenum dataType, GLenum filtering, const SwizzleMask &swizzleMask, std::span< const GLenum > wrapping, GLint level) |
| Texture (const Texture &other) |
| Texture (Texture &&other) |
Texture & | operator= (const Texture &other) |
Texture & | operator= (Texture &&other) |
GLenum | getFormat () const |
GLenum | getInternalFormat () const |
GLenum | getDataType () const |
const DataFormatBase * | getDataFormat () const |
GLenum | getFiltering () const |
GLint | getLevel () const |
GLuint | getNChannels () const |
GLuint | getSizeInBytes () const |
void | setSwizzleMask (SwizzleMask mask) |
SwizzleMask | getSwizzleMask () const |
void | setInterpolation (InterpolationType interpolation) |
InterpolationType | getInterpolation () const |
void | setWrapping (std::span< const GLenum > wrapping) |
void | getWrapping (std::span< GLenum > wrapping) const |
void | download (void *data) const |
void | downloadToPBO () const |
void | loadFromPBO (const Texture *) |
| TextureBase (GLenum target) |
| TextureBase (const TextureBase &other) |
| TextureBase (TextureBase &&other) |
TextureBase & | operator= (const TextureBase &other) |
TextureBase & | operator= (TextureBase &&other) |
GLuint | getID () const |
GLenum | getTarget () const |
void | bind () const |
void | unbind () const |
Observable< TextureObserver > & | operator= (const Observable< TextureObserver > &other) |
void | addObserver (TextureObserver *observer) |
void | removeObserver (TextureObserver *observer) |
virtual void | startBlockingNotifications () override final |
virtual void | stopBlockingNotifications () override final |