Jump to content
  • Advertisement
Sign in to follow this  

glTexBuffer and Texbuffer Objects samples

This topic is 1739 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

Using OpenGL desktop version, there are three look alike API's

  • glTexBuffer
  • glTexBufferARB
  • glTexBufferEXT

What are the suggested resources for the sample implementations of these APIs ? How these are related with texture buffer objects ?

Looking for references available other then khronos.org and opengl.org

Edited by emt

Share this post

Link to post
Share on other sites

glTexBuffer is part of the OpenGL 3.1+ standard.

glTexBufferARB is part of OpenGL as an ARB  (Architecture Review Board) extension.

glTexBufferEXT is part of OpenGL as a vendor (NVIDIA, ATI etc...) extension (i.e if found you download gl2.h from NVIDIA's website).


So basically, if you use an old version of OpenGL you need to use the ARB or EXT versions.


However, if you use something like libglew, it will match the correct function (pointer) to glTexBuffer so you don't need to worry about what is providing the actual functionality, you just use "normal" OpenGL.


For sample implementations, you might want to look at open-source software implementations of OpenGL (such as mesa http://cgit.freedesktop.org/mesa/mesa/tree/src).

Edited by Karsten_

Share this post

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

  • Advertisement

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!