Files
filament/android
Eliza Velasquez 5d6b62de3e 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-16 11:39:10 +09:00
..
2020-01-08 17:59:49 -08:00
2026-03-10 13:43:15 -07:00