Results 1 to 2 of 2

Thread: Edit a VBO Buffer?

  1. #1
    Junior Member Newbie
    Join Date
    Mar 2003
    Posts
    17

    Edit a VBO Buffer?

    Hi!
    How can I edit a buffer which I saved in a VBO?

    I have to read it (which function?), change it and I guess save it with glBufferDataARB ?

    Thanks for help
    ~Eich

  2. #2
    Senior Member Frequent Contributor
    Join Date
    Aug 2001
    Location
    Italy
    Posts
    625

    Re: Edit a VBO Buffer?

    I think you should not do this but just map the buffer.
    Take a look at MapBufferARB... it should be called like this.

    This will get you a pointer which is the buffer itself, so you don't need to read/modify/write. You modify directly in server memory.

Similar Threads

  1. internally edit an image
    By fifthFunction in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 07-09-2018, 06:38 AM
  2. How to connect a variable to an edit field?
    By gyagyus in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 04-05-2009, 08:15 AM
  3. opengl window with edit control
    By Dathu in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 04-21-2008, 04:49 PM
  4. ForceWare 56.72 great precision BUG [EDIT: no bug...]
    By Bobo.Bobo in forum OpenGL: Advanced Coding
    Replies: 7
    Last Post: 04-22-2004, 02:56 AM
  5. how do i edit opengl.dll?
    By Rapyer in forum OpenGL: Basic Coding
    Replies: 10
    Last Post: 12-03-2001, 11:03 PM

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