Tag materials with HasGraphicsResources


The materials don't technically have graphics resources directly tied to
them but they, and by extension the material adapter, are used during
rendering through the model context, so they should follow the same
pattern and have their deletion deferred until it's safe to remove
release them.

Pick-to: 6.12 6.11
Task-number: QTBUG-146168
Change-Id: Ic2c720f8d0d415b0ab2b07489d349ecb46cfa32f
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
commit52158ec351bf619aaf1a52d0f7c3b344992438b8
parente7386f76636d33776b71268bd8e05f2f39df658f
authorChristian Strømme <christian.stromme@qt.io>
committerChristian Strømme <christian.stromme@qt.io>
commit timeWed, 3 Jun 2026 09:59:11 +0000