Daily WAT: given a texture object in OpenGL, it's not possible to know if it's 2D, Cubemap, 3D etc., until GL 4.5. :(
-
-
@TimSweeneyEpic except in this case it's not my texture; can come from a 3rd party plugin and I want to know its dimension -
@TimSweeneyEpic for regular code it's not a problem. for code interacting with other code, or debugging tools - a bit of a problem. - 4 more replies
New conversation -
-
-
@TimSweeneyEpic@aras_p Something like glGetDevelopersGrandDesign() :)Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@TimSweeneyEpic@aras_p And surely doing so would invoke some sort of glGet*() method which is bad! :)Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.