Results 1 to 3 of 3

Thread: Extension Refernce Functions

  1. #1
    Junior Member Newbie
    Join Date
    Feb 2005
    Posts
    4

    Extension Refernce Functions

    Hi... I'm totally new to opengl extensions and I am having a hard time finding a reference for the syntax. I know how to declare them and call them once i have them. I am also aware of how to check if they are supported.

    But for example... the function below seems strait forward to me at first.

    glGetBufferParameterivARB(target,name,**void)
    I want to be able to get the pointer to my buffer so I can use an offset one vertex data is loaded to the card...

    I would have though it needed 2 parameters but it takes three. And I'm uncertain on where to find the reference. Does one exist?

  2. #2
    Senior Member Frequent Contributor
    Join Date
    Apr 2004
    Posts
    990

    Re: Extension Refernce Functions

    The extension specifications are listed at http://oss.sgi.com/projects/ogl-sample/registry/

    Most of them also contain sample code.

    #define BUFFER_OFFSET(i) ((char *)NULL + (i))

    Nico

  3. #3
    Guest

    Re: Extension Refernce Functions

    Thanks -NiCo-,

    With your link and example i was able to easily understand how to use exstensions in general. Again thanks...

Similar Threads

  1. Replies: 9
    Last Post: 10-18-2014, 02:00 PM
  2. #extension mechanism, query if extension is available?
    By eodabash in forum OpenGL: GLSL
    Replies: 3
    Last Post: 03-20-2013, 03:23 PM
  3. Built-in Functions: Work-Item Functions
    By sean.settle in forum OpenCL
    Replies: 7
    Last Post: 11-17-2011, 07:39 AM
  4. procedures + functions implied by extension specs
    By danbartlett in forum OpenGL: Advanced Coding
    Replies: 1
    Last Post: 08-10-2010, 09:23 PM
  5. Using MMX functions; how to ?
    By edotorpedo in forum OpenGL: Advanced Coding
    Replies: 11
    Last Post: 09-19-2000, 11:07 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean