Jump to content

  • Log In with Google      Sign In   
  • Create Account


glTexBuffer and Texbuffer Objects samples


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 emt   Members   -  Reputation: 134

Like
0Likes
Like

Posted 18 December 2013 - 05:24 AM

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, 18 December 2013 - 05:26 AM.


Sponsor:

#2 Karsten_   Members   -  Reputation: 1544

Like
1Likes
Like

Posted 18 December 2013 - 06:35 AM

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_, 18 December 2013 - 06:39 AM.

Mutiny - Open-source C++ Unity re-implementation.
Defile of Eden 2 - FreeBSD and OpenBSD binaries of our latest game.





Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS