There is a way to change the format of a vertex buffer ? #201
-
|
There is a way to change the format of a vertex buffer because I want to reuse the same buffer but just update it. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
Hi, can you please provide some more context in what scenarios you need to change the vertex format of a vertex buffer? I can see that it would be useful to have multiple formats for a single buffer to use a dynamic format on demand like it's possible with the index buffers (i.e. BTW: I'm a bit slow in responding right now because I'm on vacation until earlier next week. |
Beta Was this translation helpful? Give feedback.
-
|
For prosperity, 9ce6648 adds a secondary |
Beta Was this translation helpful? Give feedback.
For prosperity, 9ce6648 adds a secondary
SetVertexBuffer()function that allows to change the vertex format of a vertex buffer when binding it.