Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ARB_vertex_attrib_binding is incomplete #140

Open
Palladinium opened this issue Feb 22, 2018 · 1 comment
Open

ARB_vertex_attrib_binding is incomplete #140

Palladinium opened this issue Feb 22, 2018 · 1 comment
Assignees

Comments

@Palladinium
Copy link

Palladinium commented Feb 22, 2018

VertexArrayAttrib provides wrappers for VertexAttribFormat, VertexAttribIFormat, VertexAttribLFormat, but I couldn't find any wrapper for the following functions:

  • BindVertexBuffer
  • VertexAttribBinding
  • VertexBindingDivisor

It seems to me like it would be beneficial to abstract vertex buffer binding points by wrapping the index in a class (the same way a vertex array attribute is wrapped by VertexArrayAttrib), and implement the above three functions as members of this class.

I'd be willing to spearhead the implementation, but I'm not familiar with the template programming techniques used by oglplus, and I'm unsure of how to approach implementing a new class in a way that lines up with the rest of the library. Should I create an *Ops<> class, and if so, how should I use it? Are there any enumerations or existing classes that need to be updated?

Reference: https://www.khronos.org/registry/OpenGL/extensions/ARB/ARB_vertex_attrib_binding.txt

@matus-chochlik matus-chochlik self-assigned this Feb 25, 2018
@matus-chochlik
Copy link
Owner

Hi, I'll have a look at this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants