Files
filament/android
Eliza Velasquez 474fe0c96c engine: override spec constants on instance-basis
This commit adds `getConstant()` and `setConstant()` methods to
`MaterialInstance`.

When a material instance is created, it doesn't create or manage any spec
constants on its own, but instead relies on `Material`. The client can change
constants at any time, after which the necessary resources are copied and
maintained by `MaterialInstance`.

As part of this change, most internal rendering methods which depended on
`Material` have been refactored to instead depend on `MaterialInstance`.
2026-03-05 15:51:55 +09:00
..
2020-01-08 17:59:49 -08:00
2026-03-03 08:15:31 -08:00