You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would a partial solution be to make the Vertex trait take &self? Then it would be easy to make a custom type that returns runtime values in the member method. The various VertexDefinition types would need to take this as an argument instead of as a type.
In all the examples we have something like this
but I want to load a bunch of different meshes, some with normals, some with one or more UV layers, colors, skeletal weights, etc...
Is it possible to specify the layout at run time?
I'm sorry if there's a simple solution with a Rust feature I've missed.
The text was updated successfully, but these errors were encountered: