attribute_data_view is a good optimization for the case that the user has loaded their vertex data from elsewhere (e.g: a library that loads obj files from disk), but it is inconvenient to use when creating vertex data by hand. creating a attribute_data class that owns its data would allow the user to define their attribute data directly inside the vertex_data constructor call.
attribute_data_view is a good optimization for the case that the user has loaded their vertex data from elsewhere (e.g: a library that loads obj files from disk), but it is inconvenient to use when creating vertex data by hand. creating a attribute_data class that owns its data would allow the user to define their attribute data directly inside the vertex_data constructor call.