The separation of attribute formats usually consists of the following three API calls:
glBindVertexBuffer
glVertexAttribFormat
glVertexAttribBinding
If we have multiple buffer objects that contain storage for various user-defined vertex attributes, we need to call the above API triples multiple times. Multibinding is introduced in recent versions of OpenGL allowing us to use plural form of the the first API – glBindVertexBuffers – to bind a group of buffer objects all at once to a series of targets. I then expect that there should be similar plural forms for other two attribute separation APIs, like glVertexAttribFormats and glVertexAttribsBinding. But I could not find them. glVertexArrayAttribFormat and glVertexArrayAttribBinding seems not for this “multibinding” purpose. So,
- Is there any plural form “multibinding” API for glVertexAttribFormat & glVertexAttribBinding available in the current OpenGL version?
- I’m surprised if not, but why not? because ARB assumes that multibinding separation is always used for data of the same format?
Thanks.