|
|
| Texture2DArray (size3_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) |
|
| Texture2DArray (size3_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) |
|
| Texture2DArray (const Texture2DArray &other) |
|
| Texture2DArray (Texture2DArray &&other) |
|
Texture2DArray & | operator= (const Texture2DArray &other) |
|
Texture2DArray & | operator= (Texture2DArray &&other) |
| Texture2DArray * | clone () const |
|
void | initialize (const void *data) |
| size_t | getNumberOfValues () const |
| void | upload (const void *data) |
|
void | uploadAndResize (const void *data, const size3_t &dim) |
|
const size3_t & | getDimensions () const |
|
void | setWrapping (const std::array< GLenum, 2 > &wrapping) |
|
std::array< GLenum, 2 > | getWrapping () const |
|
| 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) |
|
bool | isObservedBy (TextureObserver *observer) const |
| virtual void | startBlockingNotifications () override final |
| virtual void | stopBlockingNotifications () override final |
|
|
void | bindFromPBO () const |
|
void | bindToPBO () const |
|
void | unbindFromPBO () const |
|
void | unbindToPBO () const |
|
void | setupAsyncReadBackPBO () const |
|
void | setPBOAsInvalid () |
|
void | forEachObserver (C callback) |
|
virtual void | addObserver (Observer *observer)=0 |
|
virtual void | removeObserver (Observer *observer)=0 |
|
void | addObservationHelper (Observer *observer) |
|
void | removeObservationHelper (Observer *observer) |
|
static size_t | targetDims (GLenum target) |
|
static GLuint | channels (GLenum format) |
|
static size_t | dataTypeSize (GLenum dataType) |
|
GLenum | format_ |
|
GLenum | internalformat_ |
|
GLenum | dataType_ |
|
GLint | level_ |
|
std::mutex | syncMutex |
|
GLsync | syncObj = 0 |
|
GLuint | id_ |
|
GLenum | target_ |
| static constexpr std::array< GLenum, 3 > | wrapNames |
| static constexpr std::array< std::pair< GLenum, size_t >, 5 > | targetToDim |