Method group is Obsolete

MaterialProperty.PropFlags.PerRendererData

Obsolete Use UnityEngine.Rendering.ShaderPropertyFlags instead.
Upgrade to ShaderPropertyFlags

Description

In the Material Inspector, value for this property will be queried from Renderer's MaterialPropertyBlock, instead of from the Material. The value will also appear as read-only. This corresponds to the "[PerRendererData]" attribute in front of a property in the Shader code.


Did you find this page useful? Please give it a rating: