Any plans to support custom buffer element types for interleaved data? #448
Unanswered
zdimension
asked this question in
Q&A
Replies: 1 comment
-
No there's no plan to support that. Interleaved data is a legacy thing, at least I have never seen the interleaved data make a difference. Probably modern hardware/OpenGL implementations can do this optimisation, so no need for you to do that manually, just create a buffer for each vertex attribute 🙂 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Glium allows doing this:
Currently, three-d only supports vertex buffers with elements of primitive types (buffer of float, buffer of int, ...). Any kind of composite-type element requires creating multiple buffers, one per attribute. Interleaved data is usually better performance-wise. Are there any plans on supporting that? Currently, the
DataType
trait is private anyways.Beta Was this translation helpful? Give feedback.
All reactions