Skip to content
Snippets Groups Projects
Commit 8223775a authored by Philip Trettner's avatar Philip Trettner
Browse files

Extended texture interface to allow manual format setting

parent 93749cc0
Branches
No related tags found
No related merge requests found
......@@ -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 \/
// ===================================================================================================== \/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment