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

Add layerCount to createRenderTarget #7660

Closed z3moon closed 5 months ago

z3moon commented 5 months ago

This new parameter indicates whether the render target will be created for multiview.

If the value is greater than 1, it tells the render target should be created for multiview. Otherwise, 1 or 0, it creates a single layer render target.