Files
filament/libs
Mathias Agopian 2e7fc6229b Improve StructureOfArray
- StructureOfArray: don't initialize trivial ctors

We mimic the behavior of std::vector<> here, where a resize() won't
initialize the array if the type is trivially_default_constructible.
This can reveal existing bugs, where we depended on the initialization
to 0.

- StructureOfArray: add push_back(std::tuple<>)

This basically allows us to push_back() a struct of the SoA.

- Make PerRenderableData trivially constructible

this improves performance when we have tons of objects in the scene
because PerRenderableData is used in arrays.
2023-02-22 16:28:40 -08:00
..
2023-02-22 16:28:40 -08:00
2022-09-27 15:52:40 -07:00
2022-12-06 11:18:35 -08:00
2022-12-06 11:18:35 -08:00
2023-02-09 16:11:30 -08:00
2022-08-24 11:41:10 -07:00
2023-02-22 16:28:40 -08:00