An object with shader generator settings (based on current material and scene properties), that you can change and then return. Properties of the object passed into this function are documented in StandardMaterial. Also contains a member named litOptions which holds some of the options only used by the lit shader backend LitShaderOptions.
Callback used by StandardMaterial#onUpdateShader.