Skip to content
This repository has been archived by the owner on May 9, 2018. It is now read-only.

Improve interface for buffer binding #43

Open
abhimadan opened this issue Nov 12, 2017 · 0 comments
Open

Improve interface for buffer binding #43

abhimadan opened this issue Nov 12, 2017 · 0 comments

Comments

@abhimadan
Copy link
Member

abhimadan commented Nov 12, 2017

#35 adds an initial pass at this. It makes it easy for users to call, because you bind one attribute at a time. However, this prevents attribute buffers from being interleaved, which improves performance in GPU programs. The problem with this version, however, is that it's restrictive for users, since they need to construct the interleaved buffer before passing it to Calder (which doesn't make it much easier than using raw WebGL).

Hopefully, we can find a good balance between performance and ease-of-use.

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

No branches or pull requests

1 participant