Mac & iPhone Game Development Forum - iDevGames
>
Development Zone
>
Graphics & Audio Programming
> how do I get the texture width and height?
PDA
View Full Version :
how do I get the texture width and height?
kelvin
2005.03.14, 02:34 AM
I've uploaded a texture with glTexImage2D(). How would I go about getting the width and height passed to that function without actually saving them?
arekkusu
2005.03.14, 02:45 AM
glGetTexLevelParameter
kelvin
2005.03.14, 03:00 AM
excellent. thanks.
vBulletin® v3.6.8, Copyright ©2000-2008, Jelsoft Enterprises Ltd.