google / filament

Filament is a real-time physically based rendering engine for Android, iOS, Windows, Linux, macOS, and WebGL2
https://google.github.io/filament/
Apache License 2.0
17.59k stars 1.86k forks source link

vk: clean-up initialization of classes #7667

Closed poweifeng closed 5 months ago

poweifeng commented 5 months ago

Instead of holding pointers to class instances in VulkanDriver, we standardize by making the relevant classes have proper constructors and initialize in VulkanDriver's constructor initializer list.