Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6025551
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T04:19:01+00:00 2026-05-23T04:19:01+00:00

Does OpenGL/OpenGLES VBO hold only same size vertex? I’m asking because i found that

  • 0

Does OpenGL/OpenGLES VBO hold only same size vertex?

I’m asking because i found that the parameters for glDrawElements have offset value for index buffer only (its last parameter), this means :
1. i have to manually offset my indices before submit them to IBO if buffers already been partly filled. anyway, manually offset indices is easy, so its not a problem here.
2. the VBO being used as vertex buffer must holds same size vertices or the indices are meaningless.

This behavior is different from DirectX Vertex Buffer, in directx, there is a SetStreamSource, which can be used to offset Verterx Buffer, along with DrawIndexedPrimitive your VB can hold vertices in arbitrary size.

maybe OpenGLES 1.1 version of SetStreamSource is not available? maybe OpenGLES 2.0 will support it?

My Target platform is iPhone OpenGLES 1.1, so if the GL version SetStreamSource is not available im going to give up using VBOs because :
1. it brings more trouble (i’ll have to allocate many VBOs holding different size vertex)
2. there is no performance improvement anyway (no hardware support in OpenGLES 1.1)

thanks for reading and thanks a lot for sharing your experience about correct ways to use VBOs in OpenGLES 1.1., thank you.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T04:19:01+00:00Added an answer on May 23, 2026 at 4:19 am

    OpenGL buffer objects (VBO is one of the usage patterns) can contain arbitrary information. But the draw functions (like glDrawElements) work on a continuous array of same-formatted vertex information (obviously, each vertex occupies the same size). If that’s the size you were asking about – then I don’t see how it can be altered.

    If you want to use the VBO from the specific offset (for example, containing vertices of a different format) – then there is a last parameter of glVertexAttribPointer for you. When VBO is bound, this last parameter is a byte offset of the data segment used for vertex attributes.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Does anyone know an efficient way to load textures into OpenGL ES that are
Does anyone have experience writing professional OpenGL games on Windows? For the Mac, due
Does anyone know how I can achieve the following effect in OpenGL: Change the
Does anyone have any recommendations of tools that can be of assistance with moving
Does anyone use have a good regex library that they like to use? Most
I've got a lovely OpenGLES code slice that renders up images for me. When
Does OpenGL ES 2.0 still support glPushMatrix and glPopMatrix? I'm currently using these in
Does iPad or iPhone support OpenGL ES 2.0? How about iPhone os 4.0. Is
I am starting out with OpenGL ES. The example code that I am reading
Anyone know how to create an OpenGL ES app that doesn't use the full

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.