Better error message when creating a VertexState with invalid arrayStride #818
Labels
effort: Moderate
Will take a good amount of time and experience with the codebase, but feasible.
Milestone
I just created the following
VertexState
:The second buffer has an array stride of 12, but a
componentCount
of 4. When applying it to an existing mesh usingMesh.setVertexState()
, it threw the following error:This isn't very helpful, it should make it clear that the provided component count and format doesn't fit in the provided arrayStride.
The text was updated successfully, but these errors were encountered: