Is this remark, which I think goes back to 2015, still valid? In other words, does the method VaoManager::createVertexArrayObject really accept multiple vertex buffers, or must it be passed a single buffer of interleaved vertex data?//Now the Vao. We'll just use one vertex buffer source (multi-source not working yet)
Can a VAO take multiple vertex buffers? Topic is solved
-
- Goblin
- Posts: 247
- Joined: Thu Aug 12, 2021 10:06 pm
- Location: San Diego, CA, USA
- x 18
Can a VAO take multiple vertex buffers?
In the source code of Sample_DynamicGeometry, there is a comment:
-
- OGRE Team Member
- Posts: 5433
- Joined: Sat Jul 21, 2007 4:55 pm
- Location: Buenos Aires, Argentina
- x 1341
Re: Can a VAO take multiple vertex buffers?
The remark still holds.
Due to how the engine's memory layout is structured, it's become extremely hard to support multi-source vertex buffers. It's one of the downsides of the type of Azdo approach we followed.
And without enough incentive there weren't more efforts to explore possible solutions
Due to how the engine's memory layout is structured, it's become extremely hard to support multi-source vertex buffers. It's one of the downsides of the type of Azdo approach we followed.
And without enough incentive there weren't more efforts to explore possible solutions
-
- Goblin
- Posts: 247
- Joined: Thu Aug 12, 2021 10:06 pm
- Location: San Diego, CA, USA
- x 18
Re: Can a VAO take multiple vertex buffers?
Thanks. It would be nice if that were mentioned in the API docs of VaoManager::createVertexArrayObject.