Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: interleaved array locking?

  1. #1
    Junior Member Newbie
    Join Date
    Feb 2003
    Posts
    7

    interleaved array locking?

    Anyone know how to go about locking an interleaved array? Only tutorials I can find are for locking vertex arrays and they are vague at best.

    This is my current rendercode:
    glInterleavedArrays(GL_T2F_N3F_V3F, 0, TriangleSurfaceStructUV);
    glDrawArrays(GL_TRIANGLES, 0, TriSurfaceCount*3); //render surface *3 points a surface

    glInterleavedArrays(GL_T2F_N3F_V3F, 0, QuadSurfaceStructUV);
    glDrawArrays(GL_QUADS, 0, QuadSurfaceCount*4); //render surface *4 points a surface

    I'd like to lock the array data to see if I can pull more fps but have no idea on how to go about doing it, any help would be greatly appreciated

  2. #2
    Member Regular Contributor
    Join Date
    Jan 2003
    Location
    Edmonton, Alberta, Canada
    Posts
    320

    Re: interleaved array locking?

    Would you happen to be refering to the EXT_compiled_vertex_array extension?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •