Commit 8223775a authored by Philip Trettner's avatar Philip Trettner

Extended texture interface to allow manual format setting

parent 93749cc0
......@@ -135,6 +135,9 @@ public:
#endif
inline glm::uvec3 getSize (void) const { return glm::uvec3( mWidth, mHeight, mDepth ); }
/// Overwrites the cached internal format (in case you upload data manually)
void overwriteInternalFormat(GLenum _format) { mInternalFormat = _format; }
// ===================================================================================================== \/
// ============================================================================================ WRAPPERS \/
// ===================================================================================================== \/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment