Enable cached serialization plans for ShaderMaterial system and custom uniform blocks.
Call once before registering scenes that contain many ShaderMaterials or large custom uniform blocks.
The default path stays compact; enabled scenes avoid repeated layout lookups and rewrite only custom
uniform slots whose value changed.
Enable cached serialization plans for ShaderMaterial system and custom uniform blocks.
Call once before registering scenes that contain many ShaderMaterials or large custom uniform blocks. The default path stays compact; enabled scenes avoid repeated layout lookups and rewrite only custom uniform slots whose value changed.