Finding OpenGL texture size in bytes after it was loaded

Posted by Tamir on Stack Overflow See other posts from Stack Overflow or by Tamir
Published on 2010-06-12T11:56:45Z Indexed on 2010/06/12 12:03 UTC
Read the original article Hit count: 221

Filed under:
|
|
|

Hey, I have a texture loaded with glTextImage2D. I want to get the texture's size after it was loaded to the VRAM, what do I need to do? My internal format is RGBA and the texture's format varies.

© Stack Overflow or respective owner

Related posts about opengl

Related posts about 2d