Sign in to follow this  
soconne

find maximum texture size

Recommended Posts

soconne    105
How can you find the maximum texture width and height for a particular graphics card? I read somewhere there was a function to do it, I just can't remember or find it.

Share this post


Link to post
Share on other sites
GhostAce    138
glGetIntegerv( GL_MAX_CUBE_MAP_TEXTURE_SIZE , &gMaxCUBETextureSize );
glGetIntegerv( GL_MAX_TEXTURE_SIZE , &gMax2DTextureSize );

max width and max height is the same size.

greetz

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this