Jump to content
  • Advertisement
Sign in to follow this  
Chris_F

OpenGL ARB_internalformat_query

This topic is 2152 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

What's the difference between ARB_internalformat_query and ARB_internalformat_query2? Specifically, is the former deprecated or something?

 

I used OpenGL Loader Generator against core 4.3 and GetInternalformati64v is present but GetInternalformativ is not.

 

Question 2:

 

I want to find out what format my texture data should be stored in to avoid having the driver doing things like swizzling during texture loading. Is this the correct way to find this out?

glGetInternalformati64v(GL_TEXTURE_2D, GL_RGBA8, GL_INTERNALFORMAT_PREFERRED, 1, &format);

This seems to return GL_RGBA8 when internalformat is GL_RGBA8, GL_RGBA when internalformat is GL_RGBA, etc...

Edited by Chris_F

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!